Skip to content

[Bug]: The application does not start after push clicking if it is closed #1828

Description

@indapublic

What happened?

When app is not running click on notification will not lead to app opening. When you click second time - all is good.
Tried android:launchMode="singleTop" in AndroidManifestl but no luck.
Any advice please? Thank you

Steps to reproduce?

1. Install react-native-onesignal.
2. Create push from Onesignal dashboard or api.
3. Try to click on push notification.
4. Nothing.

What did you expect to happen?

The application will be opened after clicking

React Native OneSignal SDK version

5.2.8

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Screencast

az_recorder_20250721_101910.mp4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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