Reputation: 1446
I'm trying to integrate deep linking. When I open the link in safari, whatsApp, telegram etc. It opens the app fine. Even when sending the test deep link from Meta's App Ads Helper it sends notification to facebook app on my device and when pressed on it, it opens the App correctly.
However when I send a url https://my-configured-web.com/deeplink/21 to Messenger app it just opens a web browser inside the Messenger app.
I have my apple-app-site-association configured correctly (I guess, since the links opens from other apps)
Would appreciate any help either from personal experience, links to similar issues or setup tutorials. Thank you!
Upvotes: 3
Views: 377
Reputation: 141
I finally figured this out, at least for me: https://github.com/OpenAttribution/open-attribution/pull/201/files
I got it working by doing
market://details?id={google_store_id}&url=https://{domain_url}
So for example for my app: https://play.google.com/store/apps/details?id=com.thirdgate.hackernews
Which has it's .well-known
at
https://app.thirdgate.dev/.well-known/assetlinks.json
I first use the UA to check if the UA is from android, and then redirect to
market://details?id=com.thirdgate.hackernews&url=https://app.thirdgate.dev
Which will correctly handle the deep link for if the app IS or IS NOT installed
Upvotes: 0