Restarts App even when it is running
See original GitHub issue[Angular]
When I click on a notification when the app is in the foreground or even background, it restarts the application losing all previous state.
I see it prints this when the app ‘restarts’:
JS: Angular is running in the development mode. Call enableProdMode() to enable the production mode.
Is this intended?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Why do my Android apps restart all over again if I minimize ...
Hi. It can be possible that 'deep clean' option is enabled by mistake on your phone. What deep clean does is, whenever you...
Read more >Why does my app restart whenever I come back to it ... - Reddit
Anytime I go to another application (even to take a photo or text someone) from Pokemon GO, PoGO restarts at the Niantic screen...
Read more >Do all background apps really restart when you reboot iPhone?
When you shut down a phone all apps are shut down also. The app switcher screen shows apps that you have used; it...
Read more >Does Your Android Phone Keep Restarting? 7 Ways to Fix It
If your Android phone restarts constantly, it might be a dodgy app, an overheating issue, or something else entirely.
Read more >Why does my app restart, even though it is already running ...
After days of fiddling and googling I finally noticed that it depends on where the app is initially started from (meaning the first...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Add
android:launchMode="singleTask"
to your app’s activity section. This tells the Android operating system to launch the app with a new instance of the activity, or use an existing one. Without this your app will launch multiple instances of itself which is no good.This worked
👍