-
Hey, I am seeing an issue in our app on android when the user grants access to the device location services. Device Information: The Issue: When an android user opens our app for the first time they are prompted with the dialog to grant access to allow the app to use the device location service. On the specified device, the user is presented with three options (when using the app, only this time, deny). When the user selects "when using the app" the location service access is denied. We have a work around to solve this. These steps will allow the app to use the location services. I have done some debugging and this is only an issue on a apk signed for release, and on our devices that have android 11 installed. I did some digging into the diagnostics class and noticed that the requestLocationAuthorization function doesn't appear to handle a third option from android. When I look at the response from requestLocationAuthorization it is returning DENIED_ALWAYS when the user selects "when using the app". I am just curious if this is something that will be updated soon or if there is a work around or a better way to get the location authorization state. thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
FYI - this is an open issue in dpa99c/cordova-diagnostic-plugin#422 |
Beta Was this translation helpful? Give feedback.
FYI - this is an open issue in dpa99c/cordova-diagnostic-plugin#422