[GUIDE] OneSignal push notifications with URL deeplinking in Android WebView apps πŸ’¬

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!