Closed
Description
Description
onNewIntent is not getting called when the app is killed by the system due to low memory or by using memory booster app.
Reproduction Steps and Sample Code
- Set
android:launchMode="singleTop"
in android manifest - Install react-native-push-natifications
- Open the app.
- Put app in background.
- Clear memory by using Solo Cleaner
- Notify the app using GCM
- Open the app by tapping on the notification banner.
Result:
onNewIntent in RNPushNotification.java is not called but onNewIntent on MainActivity.java is called.
Additional Information
- React Native version: 0.42.0
- Platform: Android
- Development Operating System: MacOS