Geolocation : Enable GPS with $cordovaGeolocation

I’m using the $codovaGeolocation plugin in my app. I can load marker, get user’s position, show map,… But i’ve noticed that when i lunch my app while the gps is off it doesn’t work even if i put it on later.
Also, How can i prompt the user to switch on gps each time he wants to enter a page that needs gps?
That you. :worried:

This one?

@Sujan12 yes, it is the same i am using :slight_smile:

But how to prompt the user to activate his gps before opening the page ?