You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check the closed issues, your question maybe is not new.
We can't debug or reproduce hardware issue.
If the library is not working 99% you did something wrong, in the code, installation or in the phone permissions.
Describe the bug
A user using Iphone 14 with IOS 17 reported that the app is not requesting permission for bluetooth and getting blocked by the app. After reviewing the logs, the event from BleManagerDidUpdateState fired is "unauthorized".
I did the testing on Iphone 15 pro max with IOS 18. The bluetooth permission is asked automatically on App start. even if i deny the permission, i am able to enable it again from the settings. Weirdly enough the user is not able to enable it from the settings, since it does not appear there.
After some research in the issues here, i understood that the IOS automatically requests the bluetooth permission when bluetooth added to the infoplist.
No where in the documentation the bluetooth permission for the IOS is mentioned. Does anyone have an idea why the user iphone is not requesting the bluetooth permission? i already asked the user to reset location or privacy but it did no work.
To Reproduce
I am not able to reproduce the issue not on a physical device nor emulator
Expected behavior
The app should ask for bluetooth permission os start up. If the user denies the permission, he can enable it in the settings.
Screenshots
screenshots sent from the user
Smartphone (please complete the following information):
Device: Iphone 14
OS: iOS 17
react-native-ble-manager version: 10.0.0
react-native version: 0.71.14
The text was updated successfully, but these errors were encountered:
Before open an issue
Describe the bug
A user using Iphone 14 with IOS 17 reported that the app is not requesting permission for bluetooth and getting blocked by the app. After reviewing the logs, the event from BleManagerDidUpdateState fired is "unauthorized".
I did the testing on Iphone 15 pro max with IOS 18. The bluetooth permission is asked automatically on App start. even if i deny the permission, i am able to enable it again from the settings. Weirdly enough the user is not able to enable it from the settings, since it does not appear there.
After some research in the issues here, i understood that the IOS automatically requests the bluetooth permission when bluetooth added to the infoplist.
No where in the documentation the bluetooth permission for the IOS is mentioned. Does anyone have an idea why the user iphone is not requesting the bluetooth permission? i already asked the user to reset location or privacy but it did no work.
To Reproduce
I am not able to reproduce the issue not on a physical device nor emulator
Expected behavior
The app should ask for bluetooth permission os start up. If the user denies the permission, he can enable it in the settings.
Screenshots
screenshots sent from the user
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: