-
-
Notifications
You must be signed in to change notification settings - Fork 398
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
Android Bluetooth permission question #2210
Comments
That PR has been in Silk.NET since 2.17. However, I notice that we haven't rebuilt the Android binary for some time, so it's actually closer to being exactly the same for 3 years. Silk.NET uses var sdl = Sdl.GetApi();
sdl.InitHint(...);
sdl = SdlProvider.SDL.Value; Though I agree this shouldn't really be necessary. Really we need to update our Android binaries. |
Thanks for the info. If you haven't rebuilt the Android binary, then that would make sense that it's not actually running the new checks (since the changed logic check is within Would be nice to have a new binary with this change, if not, then please close this as unplanned. |
I am assuming pull #1372 is in version 2.20.0 and 2.21.0 (the two latest versions of Silk) and contained the SDL changes which defaults to not enabling checking the bluetooth permission.
According to SDL the bluetooth permission check is ignored by default on Android (the hint SDL_HINT_JOYSTICK_HIDAPI_STEAM)
libsdl-org/SDL@66058bb
However, when I run the android app (just the Silk Android sample project in the repo) I am noticing the debug log shows
which seems to imply the hint is being set in Silk?
Is there a way to forcibly unset this hint value?
The text was updated successfully, but these errors were encountered: