breautek commented on issue #252:
URL: 
https://github.com/apache/cordova-plugin-geolocation/issues/252#issuecomment-1219578416

   Closing because unfortunately we use issues to track issues, not to track 
solutions...
   
   But I'll provide some insight for those who come across this post.
   
   Cordova geolocation plugin should request permission on the first time 
either `watchPosition` or `getCurrentPosition` is called. It doesn't 
necessarily request permissions when the application launches (and doing so may 
break some design rules). If the application has already been prompted and the 
user denied the prompt, then the system may automatically reject further 
permission requests. On iOS, denying a permission is always treated as a 
`DENIED_ALWAYS`, whereas Android as a checkbox giving the user a choice of 
always deny further permission requests.
   
   Nonetheless, I personally like using the diagnostic plugin because it does 
gives you further control in managing permissions and also what I use in my 
apps instead of relying on Cordova's basic permission implementation.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to