0

I am using a web-page to allow a user to fill out a form for delivery. I would like them to be able to share their location. That works, if they have their privacy settings enabled for Safari.

If they do not have their location sharing enabled, I want to provide a button that takes them to Settings > Privacy > Safari (at very the very least open the Settings App).

Something like:

<a href="App-Prefs://" role="button" class="btn btn-success btn-lg btn-block">OPEN SETTINGS</a>

I have seen other web-pages ask "Open in app..." which when pressed will ask the OS if the custom URL scheme is available. Surely the Settings app can be accessed the same way?

I would like the same ability for Android.

Can the Settings application be called to open from a webpage?

The closest I can get is using App-Prefs:// in the URL. If you long press on the button, it shows "Open in Settings.."

enter image description here

But Clicking it says the address is invalid.

enter image description here

user-44651
  • 3,480
  • 5
  • 30
  • 81

0 Answers0