Skip to content
Discussion options

You must be logged in to vote

The simplepyble C++ extension itself would compile for mobile, but seemingly, it can't actually function on Android inside a Flet app.

  • On Android, SimpleBLE's backend is a JNI bridge that, at startup, needs a live JVM/ART VM, the Android Context, and the android.bluetooth.* Java classes resolved via JNI (plus the runtime BLUETOOTH_SCAN/CONNECT permissions).
  • SimpleBLE is licensed BUSL-1.1 (commercial use requires a paid license), which is a separate distribution problem.

A possible alternative is via the native-API bridges: pyjnius/pyobjus. In the future we could work on supporting flutter_blue_plus (#5181).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@baseplate-admin
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ndonkoHenri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants