Skip to content

[question]: iOS: How to open web-browser without opening the app from push notification? #688

@StrozhDima

Description

@StrozhDima

How can we help?

How to open web-browser (for exampl Safari) when clicking on push notification without opening the app at all if I send push notification with 'Launch URL' param as for example https://www.google.com? It works on Android but on iOS at the beginning opening the application and then (from splash screen) opening web-browser Safari.
Thanks a lot!

Version 3.0.11

what I tried to do:

  1. added in Info.plist "OneSignal_suppress_launch_urls" with false value (plist.SetBoolean("OneSignal_suppress_launch_urls", false);)
  2. called method OneSignal.Default.SetLaunchURLsInApp(false); before OneSignal.Default.Initialize("myid");

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions