Skip to content
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

network: better error message for wifi scan missing location permission #2089

Open
xyb994 opened this issue Jul 15, 2024 · 0 comments · May be fixed by #2156
Open

network: better error message for wifi scan missing location permission #2089

xyb994 opened this issue Jul 15, 2024 · 0 comments · May be fixed by #2156
Assignees

Comments

@xyb994
Copy link
Member

xyb994 commented Jul 15, 2024

Device: Oneplus 6T
Android Version: Android 11

Currently the app display a toast showing "Scan unsuccessful, please try again." when there's no location permission.

Permission violation - startScan not allowed for uid=10958, packageName=io.treehouses.remote, reason=java.lang.SecurityException: UID 10958 has no location permission

Permission violation - getScanResults not allowed for uid=10958, packageName=io.treehouses.remote, reason=java.lang.SecurityException: UID 10958 has no location permission

Consider checking location permission and prompt for enabling it once optimal location permission flow is figured out?

scan unsuccessful

@Okuro3499 Okuro3499 self-assigned this Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants