Want to use OneSignal SDK with URL deeplinking from your push notifications which will open the URL in your Android WebView app after clicking on the push notification? Yeah, this is how to do it:
- Download the WebViewGold template for Android Studio here.
or book our full all-inclusive WeSetupYourWebViewApp service.
- Extract the zip folder and open the project in Android Studio.
- Activate these options in Confing.java (by switching the values from false to true):
- Please set your OneSignal App ID in the build.gradle file afterwards:
- Open OneSignal and add the desired URL with a custom field called url:
Done, that’s it! 😉 Happy sending!