breautek commented on issue #259: URL: https://github.com/apache/cordova-plugin-geolocation/issues/259#issuecomment-1556327290
Android doesn't have request text in the same way iOS does. The permission model is not configurable. That is the system model that the user actually uses to give or deny consent. Instead, Android gives you some amount of flexibility in how you inform your users. They do have some requirements and is definitely more picky if you have background location enabled or you use location data for analytics/ads, but it can be either a snippet of information on screen, or a dialog just before you call the API. I'll say that Cordova doesn't really expose a permission API, so producing a dialog jist before showing a request dialog can be difficult but the third party diagnostics plugin can help fill that gap. https://github.com/dpa99c/cordova-diagnostic-plugin -- 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]
