Skip to content
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

Could not request Bluetooth permissions state on iOS 17 #119

Open
vkurkchi opened this issue Jun 14, 2024 · 2 comments
Open

Could not request Bluetooth permissions state on iOS 17 #119

vkurkchi opened this issue Jun 14, 2024 · 2 comments

Comments

@vkurkchi
Copy link

Dear moko team, first of all, Thank you for your hard work for the KMM community.

While working on a KMM project, I noticed that the permissions state request functionality seems broken, requesting Bluetooth permissions such as Permission.BLUETOOTH_LE or Permission.BLUETOOTH_SCAN on iOS 17, results in the library returning PermissionState.NotDetermined.

To demonstrate the issue I've created a sample application and uploaded it to a GitHub repository https://github.com/vkurkchi/kmm_ble_permissions_unavailable

The test environment is - iPhone 12 Pro, running iOS 17.5.1, Xcode Version 15.4 (15F31d) / Fleet 1.36.103, Kotlin 2.0.0, Moko Resources 0.18.0

Please note that I've added the "NSBluetoothAlwaysUsageDescription" entry to the info.plist file and the appropriate entry appears in the "Settings -> Privacy & Security -> Bluetooth" section.

Please let me know if I'm doing something wrong here.

@florianloewen
Copy link

Can confirm that this issue persists on iOS 18.0.1. Bluetooth permission handling seems to be broken as of moko-permissions version 0.18.1.

@evoteal
Copy link

evoteal commented Oct 31, 2024

Also, existent on latest iOS 18.1 + Xcode 16.1. Is there any incentive to fix this library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants