OneSignal-Unity-SDK
OneSignal-Unity-SDK copied to clipboard
[question]: iOS: How to open web-browser without opening the app from push notification?
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:
- added in Info.plist "
OneSignal_suppress_launch_urls
" withfalse
value (plist.SetBoolean("OneSignal_suppress_launch_urls", false);
) - called method
OneSignal.Default.SetLaunchURLsInApp(false);
beforeOneSignal.Default.Initialize("myid");
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
@StrozhDima I don't know if that is possible to do on iOS unfortunately