Deepview always redirects to App store

Hello,

When sharing through message or mail the link redirects me correctly to the app.

When sharing a link through Facebook, Gmail (and all other apps which have “works conditionally”) I am redirected to my deepview as expected. However, the “Open the app” button of my deepviews always take me to the App store even though I have the app installed (either through xcode or through TestFlight).  Example link https://checkmytrip.app.link/dSRNj31yiv

What am I doing wrong? Why am I not redirected to the app as expected?

Apponaut — Other
1 Answer(s)
Answered on July 27, 2016.

Hi there!

Looks like we had a system error on your app which was preventing this from working correctly. It’s been cleared now — could you give it another go and let me know the results?

Sorry for the inconvenience!

Branch — Developer
Commented on July 27, 2016.

Hi Alex!
I am still redirected to the App Store. Furthermore it seems that the fix you implemented accidentally broke links with iMessage too. They are now not working (not opening the app but instead opening the deepview too)

Apponaut — Other
Commented on July 27, 2016.

Yikes, that’s not good! Let’s take these issues separately:

  1. It looks like you have a default deepview set up on the account right now for iOS. This would be applying to all links (even those without a deepview template explicitly specified) unless specifically excluded on a link-by-link basis. To fix the iMessage issue, you would either need to turn that off or test with a link where the iOS deepview has been disabled.
  2. Could you check your entitlements file? There should be entries for checkmytrip.app.link and checkmytrip-alternate.app.link. If that second one is missing, the button on your deepviews would not launch the app as expected, which could be causing this issue.
Branch — Developer
Commented on July 27, 2016.

For the first part of the issue. I’ve turned off all the deepviews and tried sharing the(via iMessage) link: https://checkmytrip.app.link/test which has no deepview specified. I am now directed directly to the App Store, even though I should be directed to the app.

I have double checked and I have both of the entries in the entitlements file.

Apponaut — Other
Commented on July 28, 2016.

Hi! We had a temporary glitch earlier today with incorrect AASA files being served for certain domains. It’s possible your checkmytrip.app.link was one of these, which would be causing these issues. We have just pushed out an update that should have resolved everything. Could you try deleting your app and reinstalling to make sure you have a fresh copy of the AASA file loaded, and then run the tests again?

Branch — Developer
Commented on July 28, 2016.

Working perfectly now, thanks for your swift actions!

Apponaut — Other
Commented on July 28, 2016.

You are most welcome! Glad it’s working properly now 🙂

Branch — Developer