- SDK Version: 35
- Platforms(Android/iOS/web/all): Android
I have set up intentFilters as instructed in the docs, I tried testing with Expo in dev mode (using the exp:// scheme) and it worked fine, but when I build a standalone app, install the app and try pressing a link with the matching url, it goes straight to the browser and disregards the fact it’s a deep link.
My app.json:
{
"expo": {
"name": "app-name",
"slug": "app-slug",
"privacy": "public",
"sdkVersion": "35.0.0",
"platforms": [
"ios",
"android"
],
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "cover",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": false,
"bundleIdentifier": "com.imaot.imaot",
"associatedDomains": ["applinks:app.imaot.co.il"]
},
"android": {
"package": "com.imaot.imaot",
"intentFilters": [
{
"action": "VIEW",
"data": [
{
"scheme": "https",
"host": "*.app.imaot.co.il",
"pathPrefix": "/recipes/*"
},
{
"scheme": "https",
"host": "*.app.imaot.co.il",
"pathPrefix": "/tips/*"
},
{
"scheme": "https",
"host": "*.app.imaot.co.il",
"pathPrefix": "/questions/*"
},
{
"scheme": "https",
"host": "*.app.imaot.co.il",
"pathPrefix": "/cookbooks/*"
},
{
"scheme": "https",
"host": "*.app.imaot.co.il",
"pathPrefix": "/articles/*"
}
],
"category": [
"BROWSABLE",
"DEFAULT"
]
}
]
}
}
}