remote icon indicating copy to clipboard operation
remote copied to clipboard

network: better error message for wifi scan missing location permission

Open xyb994 opened this issue 1 year ago • 0 comments

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

xyb994 avatar Jul 15 '24 15:07 xyb994