Closed punamz closed 1 year ago
Hi, it turns out that Android 13 has added a new runtime permission which is now required for using Nearby Connections.
It's NEARBY_WIFI_DEVICES
.
So you need to
add it to your manifest
<uses-permission android:name="android.permission.NEARBY_WIFI_DEVICES" />
You will also need to ask this permission in runtime using some other package such as permission_handler
thank you sir!, it's work for me
In Android 13, when I call
await Nearby().startDiscovery(...)
it throw an error below: