I have created a deep link for my app, myapp://video
or let say i have also added uber://
but when i open these from chrome browser, it takes me to google, it does not treat this as a link, So how will user reach to the content of this link, if its not opening from browser.
I tried this, but it opened the Google search, and not take me to the play store.
Kindly guide me how a user can use deep link? and reach to the app by using deep link.
Manifest
<intent-filter>
<data android:scheme="myapp" android:host="video/>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
Chrome does not treat URI schemes entered into the address bar as active links. You need to put it inside an <a>
element.
Note that while this will work, it is not a valid deep linking solution. You should investigate Chrome Intents, or a full deep linking system like Branch.io (full disclosure: I'm on the Branch team) or Firebase Dynamic Links.
A quick solution is to just go to an HTML editor online, like for example this one: https://htmledit.squarefree.com/
And paste your link over there. Something like:
<a href="fb://mygroup">My Facebook Group</a>
The editor will create the link for you and you'll be able to tap it and use the deeplink from your mobile device.
Simply Just execute this command to your android studio terminal
adb shell am start -d deeplink
Example:
adb shell am start -d rm://settingpage/v1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With