Reputation: 83
I am working in a Microsoft SharePoint Mobile Application and I need to complete a POC using JavaScript which involves me to detect a IOS app if installed for which I need to trigger the app otherwise I need to navigate to the app store. I need to accomplish this is the mobile device's Safari browser. I have implemented the solution using the suggestions used in Is it possible to register a http+domain-based URL Scheme for iPhone apps, like YouTube and Maps?
However, the problem I am facing is that although this detects the app the timeout code is not killed which triggers the navigation to the app store. My client needs the behaviour to not navigate to the app store if the app already exists. I am using the IOS latest version 10.2. I am new to the Mobile App domain and I am struggling to find a solution for this issue. Any help from the experts will be hugely appreciated.
Upvotes: 5
Views: 4251
Reputation: 13613
Apple changed in iOS 9.2 on purpose to drive adoption of Universal Links. You'll need to implement those instead.
The best option is to use a service like Branch.io (full disclosure: I'm on the Branch team) or Firebase Dynamic Links for this.
Upvotes: 8