App Links API (take users to a specific page directly in your app)
WebViewGold allows configuring a link scheme like www.webviewgold.com/link= which can be triggered from Mail app, browser apps, … and opens the attached link in the WebView app. Please change the scheme to your own app name (like www.example.org/link= instead of www.webviewgold.com/link=) in AndroidManifest.xml:
Afterward, activate the IS_DEEP_LINKING_ENABLED option in Config.java file:
Last but not least, you must verify your domain ownership: Go to the Google guide Done! 🙂 Example format:
(this link would open www.google.com in WebView app).
Do you want to test the mechanism? In the simulator, it can be challenging to check App Links. Open the Terminal app (Mac) or Command Prompt (Windows) and paste:
adb shell at startup -a android.intent.action.VIEW -d "https://www.webviewgold.com/link=https://www.example.org" webviewgold.myappname
Replace webviewgold.myappname with the package name of your app and replace www.webviewgold.com with your domain.