Check if location turned on or off

Possible to check if location is ON/OFF?

I try to check if already turn on before run GPS location/start geolocation poller.

If location == off

  • alert( please turn on your location first.)


  • do nothing…
1 Like

Hello, I’ve the same request/problem.
I tried to show an alert dialog linked to the second Start Geolocation poller output, but seems the output is not triggered when the mobile phone GPS is tuned off.