OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Unity app with OneSignal. https://onesignal.com
Other
218
stars
60
forks
source link
[question]: iOS: How to open web-browser without opening the app from push notification? #688
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 falsevalue (plist.SetBoolean("OneSignal_suppress_launch_urls", false);)
2) called method OneSignal.Default.SetLaunchURLsInApp(false); before OneSignal.Default.Initialize("myid");
Code of Conduct
[X] I agree to follow this project's Code of Conduct
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
" withfalse
value (plist.SetBoolean("OneSignal_suppress_launch_urls", false);
) 2) called methodOneSignal.Default.SetLaunchURLsInApp(false);
beforeOneSignal.Default.Initialize("myid");
Code of Conduct