Restarts App even when it is runningSee original GitHub issue
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?
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
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.