Comments (3)
Hi @android-dataticket, thanks for the suggestion! What you described is indeed the normal behavior, the Application class is destroyed because a new app process is started and the previous one is killed.
I'll take a look to see if it is feasible to add some custom data to the Intent, so it becomes available to the ErrorActivity once the app is restarted.
from customactivityoncrash.
Thank you for the reply! I ended up deciding it's best to store my variable as a shared preference, so no need to add any special intent data.. I'm sure it's best to handle with shared preference anyways.
Thanks again for the sweet library!
from customactivityoncrash.
Closing this for now since I don't feel like this is something that the library should do. As you already explained, the best way is to save this on the app code side (shared preferences, database, etc.) and use a custom error activity if needed to recover the data.
Thanks for your report.
from customactivityoncrash.
Related Issues (20)
- how to solve unfortunately myapp has stopped? HOT 1
- Unable to get provider cat.ereza.customactivityoncrash.provider.CaocInitProvider(solved) HOT 1
- Library hangs completely if the app defines a EventListener and some of its methods crash HOT 1
- OutOfMemoryError: pthread_create HOT 2
- Crash on Android 4.1.2 and 4.4
- incompatible with wrapper shell script HOT 2
- Not working with firebase Crashlytics HOT 3
- Plagiarism of your library HOT 1
- Is it possible to show a fragment instead of activity for crashes? HOT 1
- may provide a callback with the Throwable object
- Not works with FirebaseFirestore HOT 3
- errorActivity will not launch when I do something in eventListener->onLaunchErrorActivity HOT 2
- Deleted everthing on my phone HOT 2
- Is this testable? HOT 1
- Wrong build date info HOT 2
- NoWork at remi note 10x HOT 1
- call api before crash HOT 1
- crash from webrtc framework HOT 1
- Not fetching from the module crash response
- Another lib that goes well with CustomActivityOnCrash
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 customactivityoncrash.