Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task done
StrozhDima opened this issue Jan 23, 2024 · 1 comment
Closed
1 task done

Comments

@StrozhDima
Copy link

StrozhDima commented Jan 23, 2024

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
@emawby
Copy link
Contributor

emawby commented Jan 30, 2024

@StrozhDima I don't know if that is possible to do on iOS unfortunately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants