0

I am creating a Android mobile app using phonegap cli. It requires GPS to be enabled. I tried this plugin gps detect from npm that will open Location settings if GPS is not enabled.It is not working even if I tried on of default template phonegap Hello World. Do you guys know any plugin or javascript code that detect if GPS is enabled or disable?

JessieBear
  • 133
  • 1
  • 14

1 Answers1

1

Use checkGPS plugin for detect GPS is enabled or disabled. https://github.com/fastrde/cordova-plugin-fastrde-checkgps

Krishna
  • 893
  • 1
  • 10
  • 24