Skip to content

Instantly share code, notes, and snippets.

@mshivam019
Last active February 14, 2024 18:30
Show Gist options
  • Save mshivam019/ad248af601e513b34cc34be317420208 to your computer and use it in GitHub Desktop.
Save mshivam019/ad248af601e513b34cc34be317420208 to your computer and use it in GitHub Desktop.
apple app link and android Universal linking file templates
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:scheme="https"
android:host="subdomain.domain.com"
android:pathPattern="/someRouteWithAllNestedRoutes/.*" />
<data
android:scheme="https"
android:host="subdomain.domain.com"
android:pathPattern="/someRouteWithAllQueryParams" />
</intent-filter>
{
"applinks": {
"details": [
{
"appIDs": ["<appId>.<packageName>"],
"components": [
{
"/": "/someRouteWithAllNestedRoutes/*",
"?": "*"
},
{
"/": "/someRouteWithAllQueryParams",
"?": "*"
},
]
}
]
},
"webcredentials": {
"apps": [ "<appId>.<packageName>" ]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment