diff --git a/README.md b/README.md index 68d9be5..5095823 100644 --- a/README.md +++ b/README.md @@ -347,20 +347,21 @@ BleUuidParser.compare("180a","0000180A-0000-1000-8000-00805F9B34FB"); // true Add the following permissions to your AndroidManifest.xml file: ```xml - + + + - + ``` -If you use `BLUETOOTH_SCAN` to determine location, modify your AndroidManifest.xml file to include the following entry: +If your app uses iBeacons or BLUETOOTH_SCAN to determine location, change the last 2 permissions to: ```xml - + + ``` -If your app uses location services, remove `android:maxSdkVersion="30"` from the location permission tags. - ### iOS / macOS Add `NSBluetoothPeripheralUsageDescription` and `NSBluetoothAlwaysUsageDescription` to Info.plist of your iOS and macOS app. @@ -371,7 +372,14 @@ Add the `Bluetooth` capability to the macOS app from Xcode. Your Bluetooth adapter needs to support at least Bluetooth 4.0. If you have more than 1 adapters, the first one returned from the system will be picked. -When publishing on Windows you need to declare the following [capabilities](https://learn.microsoft.com/en-us/windows/uwp/packaging/app-capability-declarations): `bluetooth, radios`. +When publishing on Windows, you need to declare the following [capabilities](https://learn.microsoft.com/en-us/windows/uwp/packaging/app-capability-declarations): `bluetooth, radios`. + +When publishing on Linux as a snap, you need to declare the `bluez` plug in `snapcraft.yaml`. +``` +... + plugs: + - bluez +``` ### Web