Open in <app name> alert on browser link that opens app

We have an app that is opened by our portal site. Our issue is not that it doesn't open the app properly from the link but that there is an alert that pops up sometimes when the link is clicked that asks "Open in "App Name"?"

If you click open it will then open the app and act as it should. I just dont understand why it is asking if we want to open in our app. Is there a setting on the phone or a project/plist value I need to change?


I think we have the correct information in the plist for the identifier and scheme but maybe you can verify it


app link = appscheme://saveThis?...


bundle = com.my.appname

urlidentifier = saveThis

urlscheme = appscheme


I have tried other things like the identifier the same as the bundle but nothing seems to work for all devices.


Any help is appreciated.


Brian

The app, the website and the user all must be in agreement about whether a URL should open in an app or in Safari.


I believe the intended behavior is that if a user opens a URL and has not yet made an explicit choice of what to do, then they are presented with the dialog asking which they prefer. Their selection is then remembered as their preference and that path is taken the next time the user follows a similar URL. A user can later change their preference by long pressing a URL, which will cause an action sheet to open with options to open in Safari or in app. Again, their choice is set as their preference going forward. Also, if the user opens your app from a URL, the top status bar may show an option to return to the previous app in upper left corner and an option to goto the website in the upper right corner. If the user chooses to go to the website from that upper right button, their preference for opening that URL will be set to open in Safari.

Open in &lt;app name&gt; alert on browser link that opens app
 
 
Q