Link shows deepview even if app is installed, and deepview button always takes you to the app store
I’ve setup a universal deep link, and I’m using a deepview to show people a promo code before they download the app.
Here’s the link: https://bnc.lt/9unb/pm5BtynFHv
In this link I have 3 parameters, $ios_deepview : branch_default, $android_deepview : branch_default, and an internal content ID we use to direct the user to a content page.
First: Regardless of whether or not the app is installed (on iOS), the deep view page will show. Is there a way for the deep view page to only show if the app is not installed?
Second: Even if the app is installed, if you press the Open The App button, it just takes you to the app store. The deep link is not working at all when a deep view is present.
I’ve created a duplicate link, and removed the $ios_deepview and $android_deepview parameters, and the deep link properly links to the correct content page:
Duplicate link with no deep view: https://bnc.lt/9unb/geaaBgeLHv
You are being redirected to the App Store on iOS when the app is installed because you have enabled a custom domain (http://branch.rockmyrun.com) for your links. After a custom domain is set up, Universal Links are no longer supported for older bnc.lt links, and because of changes that Apple made in iOS 9.3, links without Universal Links To fix this, you’ll need to either remove the http://branch.rockmyrun.com custom domain, OR (better solution) add that domain to your app’s Associated Domains entitlement.
Once this is fixed, you don’t need to worry about the first issue (showing the deep view page only if the app is not installed) because the app will always open in that situation.