fix(android): bump bitbox_flutter to v0.0.9 (16 KB page alignment)#723
Merged
Conversation
bitbox_flutter v0.0.9 rebuilds libgojni.so with 16 KB ELF page alignment. It was the only native library in the app bundle still 4 KB aligned, which Google Play flags as incompatible with Android 15+ devices that use 16 KB memory pages. The plugin's exported Java API and dynamic symbols are unchanged between v0.0.8 and v0.0.9 (native binding rebuild only), so this is a drop-in bump.
TaprootFreak
added a commit
that referenced
this pull request
Jun 9, 2026
Resolves the pubspec conflict from #723 (bump to v0.0.9, 16 KB alignment). Keeps the dependency pinned to the bitbox_flutter fix branch — which now carries BOTH the 16 KB alignment (merged from #30) and the new getDeviceStatus — at the updated commit. Moves to the v0.0.10 tag once the plugin PR lands.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Google Play flags the app bundle: its native code is not 16 KB page aligned, so it cannot run on Android 15+ devices that use 16 KB memory pages. The only offending library was
libgojni.so(the gomobile-built Go binding shipped bybitbox_flutter) — its arm64-v8aPT_LOADsegments werep_align = 0x1000(4 KB). Every other native lib in the bundle (libflutter, libapp, libsqlite3mc, libtensorflowlite_jni, …) is already ≥ 16 KB.What
Bump
bitbox_flutterv0.0.8 → v0.0.9. v0.0.9 rebuilds the gomobile binding with-extldflags=-Wl,-z,max-page-size=16384, producing 16 KB-aligned.solibraries. See DFXswiss/bitbox_flutter#30.pubspec.lockupdated to the v0.0.9 commit (6172a2e); no other lock entries change.Verification
bitbox_flutterv0.0.9jni/arm64-v8a/libgojni.so+x86_64:p_align0x1000→0x4000(16 KB)bitbox_flutterPR gate green (go vet/test, dart format, analyze, flutter test)Test plan
lib/arm64-v8a/libgojni.soreports 16 KB alignment in the final AAB and the Play Console warning clears