How to open link directly in app on iphone
This feature is called Universal Links. You can read Apple’s documentation on this here.
Basically for this to work the developer of the NYTimes website needs to have a file called
apple-app-site-association on their server. You can view that file on the NYTimes website here http://nytimes.com/apple-app-site-association. Within the file they can specify which URLs are redirected (on the NYTimes site, any that have a year between 2000 and 2099 immediately after the domain name) and which apps they are redirected to (four NYTimes apps). At a glance the file looks okay on their website, but interestingly it does mean that only links like this http://www.nytimes.com/2016/… will work, while anything else like this for example http://www.nytimes.com/reuters/2016/… will not. So right away it is worth noting that they’ve decided that they don’t want all links to the nytimes.com website to open in their apps.
They also need to change a setting within their iOS apps to list which domains it is willing to receive links from. This takes the form of an entitlement called
com.apple.developer.associated-domains. Due to the way their app is configured I’m unable to check the plist files within their app to see if they are configured correctly. But in my own testing, this feature seems to work okay. When I go to this article I’ve randomly picked on DaringFireball and click on the NYTimes link, the NYTimes app automatically launches and opens the article rather than Safari.
What may have happened is that you can tell iOS that you don’t want it to pass Universal Links from Safari to the relevant app. You do this by clicking on the link that appears in the top-right corner of the screen when iOS has opened an app with a Universal Link. From that point on iOS will ignore the Universal Link feature for that site. This is fairly non-intuitive, so you might have done this without realising that it disables the Universal Links feature for the site.
There are two methods to re-enable Universal Links for that site. Either long press on a NYTimes link and select “Open in “NYTimes” from the menu, or open the NYTimes website in Safari and click on the “OPEN” link in the Smart App Banner at the top of the site.
Let us know how you get on.
I see that links you receive go straight to Safari instead of opening the application when you select them. I’m happy to help you with this. I’ll be focusing on your iPad. If the steps work, use them with your iPhone as well.
Restart your iPhone, iPad, or iPod touch — If you haven’t already, restart your iPad. Once it’s returned to the Home screen, test the issue.
How to back up your iPhone, iPad, and iPod touch — If restarting your iPad didn’t resolve the issue, please be sure to have a fresh backup to keep your personal information safe.
If you can’t update or restore your iPhone, iPad, or iPod touch — When an application isn’t working as expected, a good step is deleting and reinstalling the app. Since there’s nothing specific to delete on your iPad, I’d like for you to reinstall the iOS. The section titled “Put your device in recovery mode and set it up again” will walk you through all the steps to reinstall the iOS software on your device. See how links respond now.
Let me know how that goes, and take care!
If you’re a nerdy sort of iPhone user, then you know the frustration that comes from tapping a link on the web and then being directed to some crappy mobile website for the app instead of the lovely, native version you already have installed on your phone. For example, a link in a news article referencing a tweet might take you to Twitter’s mobile site instead of the Twitter app. Meanwhile, when tapping links inside native apps, you often can’t exit the app either – it just opens up a mobile website within the app you’re already using.
A new iOS utility called Opener offers a workaround for this problem – at least, it will until Apple addresses the issue itself via an iOS upgrade.
The problem is one that’s better solved on Android, where links associated with an app can be opened within that app no matter where on the system the URL is tapped. iOS users aren’t so lucky, unfortunately.
Built as a side project by Flipboard engineer Tim Johnsen, Opener’s creator explains that the problem was basically a huge personal pain point.
“I always get frustrated that we have these brilliant devices in our pocket with amazing software, yet developers don’t make their apps work together and websites don’t work with apps well either,” he says. “Android does this so much better than iOS – they’ve had this built into the system from the get go. I’m trying to improve the experience by letting people get to what they want quickly and easily.”
Opener works in one of two ways. First, you can copy a link you find on the web and then launch the Opener app to choose which native application you want to open the link within. A YouTube link, for instance, would let you pick from native apps like ProTube or YouTube. A Twitter link could be opened in Twitter, Tweetbot, or Twitterific.
The app also includes an “Action” extension, which works in those apps that support the iOS share sheet. After setting up the extension (Opener offers simple instructions for doing this), the Opener app will appear as one of the actions you can take when you long press on a link inside an app. That is, next to the options “Add to Reading List,” “Copy,” or “Open in Safari,” among other things, there will be a new “Action” labeled “Opener.” Tapping this opens the app where, again, you can pick which native app should be used to open up the link in question.
For example, if you come across an Instagram link while browsing posts on Twitterific, you could tap Opener then choose “Instagram” to open the link directly within the Instagram native application.
At present, Opener supports 50 applications ranging from social apps like Instagram and Twitter, to media apps like Spotify and YouTube, to shopping apps like Amazon and Kickstarter and more. Johnsen says he’s continuing to add others all the time, and they’ll appear in the “New Supported Apps” section in Opener when they’re added.
OK, fine. I told you it was a bit nerdy.
But if you’re just nerdy enough to know the problem Opener addresses, you might be willing to chip in the $1.99 Johnsen is charging for his solution. That might be too high a price for this sort of niche utility, but Johnsen argues that not only will it help him purchase the apps he needs to test Opener with, it will attract a smaller, but less fickle, user base.
“Sure, I could get a ton of users if the app was free, but I really want users who can make good, long-lasting use of it and find it valuable enough to pay for,” he says.
As someone who spends huge chunks of my day tapping on my iPhone’s screen, I skipped my Starbucks latte today and bought Opener instead. Of course, this could end up being a temporary fix to a problem that’s addressed with the release of the next version of the iOS operating system, iOS 9. In fact, there are already hints that something like this could be in the works.
But if you can’t wait for the core OS improvements to arrive, Opener is $1.99 here on iTunes.
What I want to do is,We have having one product info on Website.That product is available on store.what we have on website is that, Product info and one button for that product.
I want to take two actions on that button.When User opens website on iPad or iPhone on Safari (browser) and click on GetProduct button, then following two actions must be taken place.1. If user is already having product installed on device then directly open the app in device.2. If user is not having the app on device then link user to the app on store, so he can download from there.
I already handled second condition,but how to handle the first condition.If I am already having the app then how to open it on action of button click in browser.
Continues to be not only one of my most used and treasured apps, but also one of the most consistently stable. Sadly so many developers get caught up in wanting to make nonstop updates that sometimes can even end up ruining what once was an awesome useful app. Thankfully this developer is one of the few that puts “user experience & app stability” as a #1 priority. Which is why I will continue to rant and rave about this app with as many people who are willing to allow me to introduce them to an app resource that they never knew they always needed. So useful it will make you wonder why iOS doesn’t have this feature built in by default.
𝙈𝙮 𝙁𝙞𝙧𝙨𝙩 𝙍𝙚𝙫𝙞𝙚𝙬 ⭐⭐⭐⭐⭐
THEY ADDED MUSI SUPPORT! I can’t say enough positive things about the quality of customer service and support offered by this apps developer Tim.
Tim not only promptly responded to my email asking for the app Musi to be added as an option in Opener but even after informing me that my request would not function if added because of an issue on Musi’s side. He still went above and beyond by getting in contact with the other developers until he was able to make my request happen. If that’s not awesome developer support I don’t know what is.