Urgent help needed cordova-plugin-geolocation not waiting for permission dialog

  • Check your GPS is on
  • Check permissions in manifest file
app/res/xml/config.xml

<plugin name="Geolocation" value="org.apache.cordova.GeoBroker" />

app/AndroidManifest.xml

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />

If still not solved then take a look in this article -:

Geolocation Permissions