Prompt user to enable location setting



I’m currently developing geolocation app using Ionic Native Geolocation

If Location setting is turned off or not active, I should display an alert to ask users to enable location service/setting. How do I add a button in an alert to show user the device location setting?


Depending on the version of Android, I don’t think this is possible.


Isn’t it ? Ionic Confirmation Alerts

I also want to check if the geolocation native option is enable or not and let the user decide to activate or not this option directly from my app with a Confirmation Alerts if possible :neutral_face:

There is the my same post : here

Thanks for your time :sunny: