admin管理员组

文章数量:1357294

I'm trying to open the app from an HTML page. It's working well, but I need the app to open without asking the permission from the user.

Currently, Safari will ask the user that "Open this page in myapp". I don't want this message box.

How I can remove this message from Safari? I'm using an URI scheme to open the app. It looks something like myApp://domain.

I'm trying to open the app from an HTML page. It's working well, but I need the app to open without asking the permission from the user.

Currently, Safari will ask the user that "Open this page in myapp". I don't want this message box.

How I can remove this message from Safari? I'm using an URI scheme to open the app. It looks something like myApp://domain.

Share Improve this question edited Aug 2, 2017 at 21:03 trincot 352k36 gold badges272 silver badges328 bronze badges asked Aug 2, 2017 at 6:08 shamnadshamnad 3385 silver badges21 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 5

You can't avoid the dialog you mentioned while using Custom URL schemes. This is iOS feature.

Instead you can use Universal Links to open your iOS App without additional dialog. You need to have control over iOS App to make this happens.

To simplify Universal Links setup, you can use one of the panies that can setup most of it for you. I am working in Firebase/Google https://firebase.google./docs/dynamic-links/ . Other answer mentioned pany that will do this for you as well.

Try branch.io? It works with Android and iOS.

本文标签: javascriptOpen iOS app from a Safari without quotOpen in ltappgtquot promptStack Overflow