Article sections

    Did you notice the difference between the default OneSignal URL value (don’t use that) and a custom field? If you want to use OneSignal URL Deeplinking (opens a specific URL when clicking on your notification), please add the desired URL with a custom field called url: https://www.webviewgold.com/docs/iOS/assets/img/onesignal_deeplinking.png

    On OneSignal.com Backend, you can fill in this key-value-pair window after clicking on “Advanced settings”. On OneSignal API, you can add the “url” field to the API request (https://documentation.onesignal.com/docs/onesignal-api).

    In the OneSignal API documentation (“Create Notification”  example) is a demo parameter (data: “foo” => “bar”) that you should remove from your API Call. Otherwise, the app might crash.

    in WebViewGold for AndroidWebViewGold for iOS