-
-
Notifications
You must be signed in to change notification settings - Fork 845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request PERMISSIONS.IOS.BLUETOOTH_PERIPHERAL on real ios device returns unavailable #366
Comments
@fchenchen If you want to ask for a bluetooth permission with no background usage, unfortunately it is not implemented yet 😕 I started working on it, it will came as |
@zoontek Hi, thanks for the explanation. I did some search online about the iOS 13 changes on Bluetooth. Based on my understanding, it seems that developers have no way to manually request bluetooth permission with no background usage. We can only put the I found some of the above information in the privacy section of the What's New in Core Bluetooth of WWDC 2019. In my opinion, the way to handle Bluetooth permission right now is:
Hope this helps. |
@fchenchen That's already what is done in https://github.com/react-native-community/react-native-permissions/blob/master/ios/BluetoothPeripheral/RNPermissionHandlerBluetoothPeripheral.m :) As it's for background usage, I'm looking for non-background usage documentation |
@zoontek Would it be possible to provide the ability to check the The use case for us would be to check if a use with an iOS 13+ device has has denied BT permissions and redirect them to the settings page. |
@nipuna777 Done! In the 2.0.4 |
Thank you for such an awesome library. I tried to request PERMISSIONS.IOS.BLUETOOTH_PERIPHERAL on a real ios device (iPhone 6s) and it returns unavailable.
The log says: Missing "bluetooth-peripheral" in "UIBackgroundModes" forces check / request result to "unavailable" status
What does this mean? Is it related to Bluetooth in background mode? My app doesn't need background mode but I should still be able to use Bluetooth.
The text was updated successfully, but these errors were encountered: