Created
May 12, 2021 11:16
-
-
Save iniyanmurugavel/19f51d517fe55f80d35548b8519fbb65 to your computer and use it in GitHub Desktop.
Deeplink Trigger from adb command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Intent intent = getIntent(); | |
if (Intent.ACTION_VIEW.equals(intent.getAction())) { | |
Uri uri = intent.getData(); | |
String valueOne = uri.getQueryParameter("keyOne"); | |
String valueTwo = uri.getQueryParameter("keyTwo"); | |
<data android:host="www.clicky.pk" android:scheme="http"/> | |
<data android:host="www.clicky.pk" android:scheme="https"/> | |
adb shell am start -W -a android.intent.action.VIEW -d example://iniyan/1234 | |
adb shell am start -W -a android.intent.action.VIEW -d http://stage.example.in/dl | |
adb shell am start -W -a android.intent.action.VIEW -d https://kredt.be | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment