When sending a push notification you may optionally specify a specific URL to open within your app. Add a new field in Additional Data named
targetUrl and specify the URL.
Launch URL ≠ targetUrl
OneSignal has a built-in field named Launch URL which opens URLs in the user's mobile browser. It is not possible to override that behavior hence why we use the
targetUrlfield to open the app versus the browser.
Updated over 1 year ago