Did You Know?

Your Success That's Our Business

App Links API

Author: admin 65 views

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:

AndroidManifest.xml for App Link Configuration

Afterward, activate the IS_DEEP_LINKING_ENABLED option in Config.java file:

Config.java for App Link Configuration

Last but not least, you must verify your domain ownership: Go to the Google guide
Done! 🙂 Example format:

http://www.webviewgold.com/link=https://www.google.com


(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.

Loading...