Comments (4)
Excellent idea. Care to submit some code?
William
On Thu, Nov 1, 2012 at 12:47 AM, keccs [email protected] wrote:
Sometimes we want to record some state of the application when the crash
occurs as opposed to pre-defining the custom data entries with
putCustomData.
Currently we do this by calling putCustomData everytime this state
changes, but that is inconvenient and also sometimes impossible to do (see
issue #13 #13)
It would be much better if we could register some callbacks that ACRA
would call when it creates the crash report.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/14.
from acra.
This is something I have been thinking about without deciding anything for the moment. You can actually use a ReportSender to add custom data to the report if you arrange the list of report senders to make your data collector act before the real report sender... But this is more like a hack.
It would be quite easy to add a hook after executing all ACRA collectors to call a list of custom collectors. But then only the CUSTOM_DATA field could be used to add data.... and I've always been thinking that it would be even more interesting to let users define their own ReportFields... and I've not dug futher in that direction.
A first step with the ability to add data in CUSTOM_DATA might be a nice starter though.
from acra.
William: Yeah, I would love to contribute code and will try to get something done on one of the upcoming weekends.
from acra.
Resolved. See #87
from acra.
Related Issues (20)
- Mitigate duplicates in the ReportContent HOT 1
- Filter exceptions HOT 6
- MailSender does not open GMail (Android 14) HOT 3
- How can I find api for server? HOT 1
- No leading boundary when using POST withAttachmentUris HOT 6
- HTTP Multipart Report Filename HOT 3
- Mac Address in os 11 HOT 2
- ACRA incompatible with Cronet
- Custom Extensions and KSP support HOT 2
- ACRA initialization : getting ClassCastException on application update HOT 3
- HttpSender sends an empty body in ACRA 5.11.1 HOT 6
- AndroidStudio couldn't find the class 'MailSenderConfiguration or MailSenderConfigurationBuilder' HOT 3
- AndroidStudio couldn't find the class 'MailSenderConfiguration or MailSenderConfigurationBuilder' Again.
- ACRA SDK Error HOT 6
- Java 17 support HOT 2
- Possible to send Acra reports with own custom error dialog? HOT 3
- 403: Client error - request will be discarded HOT 7
- Custom ReportSender is called but send function is never reached HOT 8
- ReportingAdministrator do not detect android.os.DeadSystemException HOT 2
- mailSender is not working on android 14 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acra.