Created
April 2, 2021 08:16
-
-
Save kaushal9678/52b777d6184ad6079fd1b986a39b9dac to your computer and use it in GitHub Desktop.
Deeplinking configuration for Android
This file contains 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-filter android:label="@string/filter_title_viewproducts" android:autoVerify="true"> | |
<action android:name="android.intent.action.VIEW" /> | |
<category android:name="android.intent.category.DEFAULT" /> | |
<category android:name="android.intent.category.BROWSABLE" /> | |
<!-- Handle urls starting with "http://www.kyadav.com/users/" --> | |
<!-- Note: In Android you have to define every DeepLink path in pathPrefix variable | |
like I have /users/ | |
if you have more like /profile/test/ | |
then add one more data tag <data android:scheme="https" | |
android:host="kyadav.tech" | |
android:pathPrefix="/profile/" /> | |
--> | |
<data android:scheme="https" | |
android:host="kyadav.tech" | |
android:pathPrefix="/users/" /> | |
<data android:scheme="http" | |
android:host="kyadav.tech" | |
android:pathPrefix="/users/" /> | |
<!-- Handle local urls starting with "deeplink://jobs" --> | |
<data android:scheme="deeplink" | |
android:host="jobs" /> | |
</intent-filter> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment