You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/02/11 14:41:41 UTC

[GitHub] [cordova-plugin-geolocation] meghanadixit1 opened a new issue #188: Android X - Handle location permission when user selects- "Allow only when using thr app"

meghanadixit1 opened a new issue #188: Android X - Handle location permission when user selects- "Allow only when using thr app"
URL: https://github.com/apache/cordova-plugin-geolocation/issues/188
 
 
   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   Prior to Android X, when getCurrentPosition() is called, And user clicks on Allow, we used to get the current location.
   Now with Android X, we get new dialog with 3 options - 
   Allow
   Allow only when using the app
   Deny
   
   When the second option is selected, and the location is off from the device settings, Nothing happens - neither error nor success.
   
   
   ### What does actually happen?
   We should get appropriate response from the method, so that we can handle the error gracefully.
   
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [ ] I included all the necessary information above
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] wayne12304 commented on issue #188: Android X - Handle location permission when user selects- "Allow only when using the app"

Posted by GitBox <gi...@apache.org>.
wayne12304 commented on issue #188: Android X - Handle location permission when user selects- "Allow only when using the app"
URL: https://github.com/apache/cordova-plugin-geolocation/issues/188#issuecomment-599936791
 
 
   With Android11, we get a dialog with 3 options -
   Only this time
   While using the app
   Deny
   
   When user select [Only this time] or [While using the app], getCurrentPosition() callback error with timeout

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org