What is a "What Is Nearby Devices Permission\",\"snippet\":\"android"? The Most Authoritative Explanation.
- Home/
- EN/
- WHAT IS NEARBY DEVICES PERMISSION\",\"SNIPPET\":\"ANDROID
What is a "What Is Nearby Devices Permission\",\"snippet\":\"android"? The Most Authoritative Explanation.
What permissions do Android apps need to access nearby Wi-Fi devices?
Apps that target Android 13 (API level 33) or higher and manage Wi-Fi connections should 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.
How do I enable/disable a nearby device?
The Nearby device’s permissions must be enabled or disabled together in the system settings; for instance, users cannot turn off Wi-Fi access while maintaining Bluetooth access for a specific app. To add this permission to your android app, simply do these steps. Add the permission in your Android’s Manifest File:
Does Android 12 have a nearby device permission?
We heard from users and developers that this was confusing and not to mention over-granting location when the app just wanted Bluetooth. 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.
What permissions do I need to access adjacent Wi-Fi devices?
The NEARBY WIFI DEVICES runtime permission must be requested by apps that handle Wi-Fi connections and are designed for Android 13 (API level 33) or higher. Earlier versions of Android required these apps to declare the ACCESS FINE LOCATION permission; this permission makes it simpler to explain an app’s access to adjacent Wi-Fi devices.
Related Articles