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

Disable SDL2 hidapi in order to avoid dependency on CoreBluetooth #779

Merged
merged 1 commit into from Mar 11, 2023

Conversation

misl6
Copy link
Member

@misl6 misl6 commented Mar 11, 2023

Kivy does not make use of SDL2 hidapi, and building it into our artifacts requires to link against the
CoreBluetooth framework.

More importantly, Apple notices it just after the submission to the App Store, and requests the developer to explain the user why the access to this feature / data is needed via NSBluetoothPeripheralUsageDescription and NSBluetoothAlwaysUsageDescription keys.

SDL refers to this issue here, and suggests to disable the HIDAPI via SDL_HIDAPI_DISABLED:
https://github.com/libsdl-org/SDL/blob/07d0f51fa292895443f563f0cbde4cb3802d87fa/include/SDL_hidapi.h#L56-L60

@misl6 misl6 merged commit 1aca405 into kivy:master Mar 11, 2023
9 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants