What is a "Nearby Devices Permission"? The Most Authoritative Explanation.
- Home/
- EN/
- NEARBY DEVICES PERMISSION
What is a "Nearby Devices Permission"? The Most Authoritative Explanation.
What permissions do I need to access nearby Wi-Fi devices?
Apps that target Android 13 (API level 33) or higher and manage Wi-Fi connections must request the NEARBY_WIFI_DEVICES runtime permission. This permission makes it easier to justify an app's access of nearby Wi-Fi devices; on previous versions of Android, these apps needed to declare the ACCESS_FINE_LOCATION permission instead.
What is Android 12's nearby device permission?
Android 12’s solution is a Nearby device permission to “Allow [an app] to find, connect to, and determine relative position of nearby devices.” This is part of a push from Google to encourage data minimization. It already includes automatically resetting permissions from unused apps and a new App hibernation feature:
How to enable permissions on Android?
The first place to start for either method is to head to the Apps & notifications page in the Android Settings menu. If you want to see the permissions that you’ve enabled for a specific app, then head into the Apps section of the Apps & notifications. Select your desired app and scroll down until you find the option labeled Permissions.
What is access_fine_location permission?
This permission makes it easier to justify an app's access of nearby Wi-Fi devices; on previous versions of Android, these apps needed to declare the ACCESS_FINE_LOCATION permission instead. Caution: If your app tries to call a Wi-Fi API without the proper permission, a SecurityException occurs.
Related Articles
Abusing GPS jammers can be very dangerous.