I'm using Phonegap cli-8.0.0 to build my app.
When my app loads up for the first time it prompts the user with 2 permissions - location and notifications which is fine.
Now if a user accidentally taps the wrong button and denies the plugin is there away to check the permission has been denied? if so prompt a new request? rather than the user having to go in to phone settings > privacy etc...to allow permission
Plugins used:
<plugin name="cordova-plugin-geolocation" spec="*" />
<plugin name="phonegap-plugin-push" spec="2.1.3" />