title: phonegap plugin to check gps is on or off
body: <p>I have been trying to find out a plugin which will trigger if the gps is turned on or off during the app is running. So I start the app and the gps is turned off but later I turn it on. </p>
  
  <p>I have tried </p>
  
  <pre><code>cordova.plugins.diagnostic
  </code></pre>
  
  <p>and </p>
  
  <pre><code>cordova-plugin-geolocation
  </code></pre>
  
  <p>but they don't put a sort of binding. In the start I can look if it is on or off but as the app is running I can't </p>