Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Link to App store with no redirects?

Tags:

ios

app-store

Apple recommends an itms:// link for native applications linking to the app store, however a link such as the following ends up opening itunes first, then redirecting to the app store:

itms://itunes.com/apps/Reactors

How do you open the app store directly with no redirects to iTunes or Safari? It appears that even the usage of phobos.apple.com is being depreciated.

On fast devices it can take several seconds to animate the native app away, animate itunes in place, find the redirect, animate itunes away, animate the app store in place, and find the app. It makes the app seem poorly designed to have all that page flipping occur before bringing the user to what they requested.

Example code:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://itunes.com/apps/Reactors"]]
like image 660
Adam Davis Avatar asked Apr 12 '11 16:04

Adam Davis


People also ask

How do I stop redirects from App Store?

Go to Site Settings and find Pop-ups and redirects; Make sure that the toggle next to “Block sites from showing pop-ups and redirects (recommended)” is greyed out.

How do I get the URL for App Store?

Step 1: Go to the Apple App Store on your iOS device. Step 2: Search for your app and go to the app page. Step 3: Tap the Share Sheet button on the top right of the screen, then choose Copy Link. You can also share your app with others using available sharing methods, such as Skype.


2 Answers

Instead of using "itms://" use "itms-apps://".

like image 163
klotz Avatar answered Sep 18 '22 13:09

klotz


This has already been answered within a different thread, but the easiest way is to simply use Apple's Link maker at http://linkmaker.itunes.apple.com/us/

like image 25
James Marquez Avatar answered Sep 20 '22 13:09

James Marquez