Skip to content

BUG: onNewIntent is not called when app is killed by the system due to low memory #13233

Closed
@carlobambo

Description

@carlobambo

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

  1. Set android:launchMode="singleTop" in android manifest
  2. Install react-native-push-natifications
  3. Open the app.
  4. Put app in background.
  5. Clear memory by using Solo Cleaner
  6. Notify the app using GCM
  7. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions