-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect message regarding location #6512
Comments
That's weird! It looks like from the code we expect to get told that the permission is granted, and then we check if location services enabled at the device level (and show a message if not). I'm surprised that we end up being told that the permission is "denied". I think this is something we could improve, but it's not high priority. |
Hi there, I encountered this issue while using Collect for the first time in Android 14, which caused some confusion. I was checking the permissions, reopening the app, and troubleshooting, but it wasn’t until later that I realized my location was turned off 😅 A quick improvement, while waiting for an actual fix, could be to update the message to include something like, 'Make sure location is turned on.' |
ODK Collect version
2024.3.0 Beta 8
Android version
Android 14,15
Device used
Samsung Galaxy M23, Pixel 6a
Problem description
During regression testing, I came across a test in which there were several required fields to check. https://sd-odk.atlassian.net/browse/NODK-1333 And I happened to have Location disabled on my phone, but Precise Location was enabled which caused me confusion when I saw an error dialog that I need to turn on the Precise Location permission.
Steps to reproduce the problem
Scan QR code:
![Screenshot(187)](https://private-user-images.githubusercontent.com/85225519/386542190-0f3c423a-daca-465b-8098-be2b3a079ca0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5Mzc4NzgsIm5iZiI6MTczODkzNzU3OCwicGF0aCI6Ii84NTIyNTUxOS8zODY1NDIxOTAtMGYzYzQyM2EtZGFjYS00NjViLTgwOTgtYmUyYjNhMDc5Y2EwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDE0MTI1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJkMDNkYmM1Mjc0ZjRiZDhkOTljY2QwMTA0ZDI2MWE1M2NhMzdkMjQwODlkMTQxZWIzYjVjYzMzM2VmNDBmMTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.x5X6VPiFuq7YsMWbvDWo8GkwzthArQE9qSsm7QncQTE)
Turn off Location in device setting
Have Precise Location permission turn on for ODK Collect app
Click on any map icon
the dialog informing that Without the Precise Location permission Collect can't record your location.
Expected behavior
To be honest I'm not sure if this is an issue, but I wanted to discuss if there shouldn't be a different dialog when the whole Location is turned off.
Other information
XRecorder_15112024_102657.mp4
The text was updated successfully, but these errors were encountered: