Nullwire.com seems to have dropped off the internet, so I've rejiggered their exception-catcher somewhat.
It still works in much the same way: it catches uncaught exceptions and saves a log, on the next launch, saved logs are found and dispatched.
The differences are:
- Just one class
- Loads of information included in logs as standard: Package version, device, SDK version, brand, product, etc
- You can append additional arbitrary information to crash logs
The main change is that the user is prompted to send saved crash reports directly by email, rather than having them uploaded invisibly. On the upside:
- You don't have to ask for network permissions
- Paranoid users can see what information you're gathering
- Helpful users can append more information to the email
- It opens a dialog between you and the user - you can reply asking for more information, with an updated APK, etc
On the downside I guess it looks a little unprofessional. However, your app
has just force-closed, so the sheen may already be off the apple.
Code is over
here.