Daniel Larsson
Daniel Larsson

Reputation: 6394

Universal Links to Amazon

Shouldn't we be able to use Universal Links into Amazon on iOS? They are hosting this file: https://www.amazon.com/apple-app-site-association and this blog post seem to be certain of it. However, if I make a link that follows one of their site-association rules, such as

http://www.amazon.com/gp/product/0062273205,

I keep getting directed to Safari instead of the app. I have never clicked Back to X from the Amazon app, so it can't be that cache that is messing with me.

Upvotes: 0

Views: 2792

Answers (2)

Shawn Frank
Shawn Frank

Reputation: 5213

I know this is an old question, however I did post an answer that seems to work currently which might help someone:

I too had mixed results with universal links, it worked on some devices and not on others even though the Amazon app is installed.

In summary, what I did was:

  1. Using https://www.appsight.io/app/amazon I was able to get the URL Scheme for the amazon app
  2. I whitelisted that URL scheme in my info.Plist
  3. I added some code to check if I can open the amazon app using the scheme otherwise I should fallback to using Universal links

Exact code I used is available on my answer here.

Upvotes: 0

Alex Bauer
Alex Bauer

Reputation: 13633

Universal Links do work with the Amazon app on iOS. I tested the example (http://www.amazon.com/gp/product/0062273205) on iOS 9.2.1, and it opened the app as expected.

Have you have scrolled all the way to the top of the Amazon page? There should be a banner like this that will forward you to the app. If not, I suppose it's conceivable that your copy of the Amazon app didn't correctly register for Universal Links when first installed. You could try deleting it and reinstalling.

Upvotes: 1

Related Questions