Bluetooth android only permissions check should be always allowed on iOS
🏗 Enhancement Proposal
bluetooth: "When running < iOS 13 or Android this is always allowed."
This is not a case for bluetoothScan and bluetoothConnect. permissions are denied on iOS
Pitch
Now we need to check the platform before checking the bluetoothScan and bluetoothConnect. I made a mistake in code and checked this permision in iOS...
Platforms affected (mark all that apply)
- [x] :iphone: iOS
- [ ] :robot: Android
Android is also affected. By asking for Permission.bluetooth on Android, it will always return PermissionStatus.denied.
The documentation should be improved either way: "When running < iOS 13 or Android this is always allowed" should likely be something like:
"When running < iOS 13 or Android, requesting or checking this status will always return [PermissionStatus.granted]" (or .denied, if that's the intended behavior)