I built a simple app using Expo, and have installed "stand-alone" builds on iOS and android devices.
The app has a custom scheme "myapp://". On iOS, I can open a browser window, type "myapp://" in the url and hit enter, and I'm asked whether I want to open my app.
I'd like to replicate this behavior on the default Android browser (Chrome). When I enter "myapp://" in a Chrome browser on the Android device, however, I'm not prompted to open the app. By contrast, when I enter "myapp://" in a Firefox browser on my Android, my app loads.
Does anyone know what the url scheme should be such that Android will open the app with the scheme "myapp://" when using Chrome? I'm happy to provide any other information that would be helpful.
Some additional details. My expo app.json contains:
"android": {
"package": "com.myapp.app",
"intentFilters": [
{
"action": "VIEW",
"data": [
{
"scheme": "https",
"host": "*.myhost.com",
"pathPrefix": "/*"
},
],
"category": [
"BROWSABLE",
"DEFAULT"
]
}
]
},
https://myhost.com/linking.html
contains a link that looks like:
<a href='intent:#Intent;scheme=myapp://;package=com.myapp.app;end'>Deeplink</a>
When I click that link at that address in Chrome on Android, I'm successfully navigated to the app. I'd like to make this process automatic though, so users are sent into the app upon arrival at myhost.com/linking.html
without having to click anything...
Chrome version: 80.0.3987.132
Operating system: Android 9