Package-level declarations
This package contains bluetooth related classes.
Android apps that use this library need to declare and request the following permissions:
<uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" android:usesPermissionFlags="neverForLocation"/>
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:usesPermissionFlags="neverForLocation"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
Content copied to clipboard
On iOS you have to extend the information property list in the Info.plist
.
NSBluetoothPeripheralUsageDescription
NSBluetoothAlwaysUsageDescription
Content copied to clipboard