Skip to content

MOB-95: bump CameraX to 1.6.1 in the app template for 16 KB alignment - #33

Merged
GenericJam merged 2 commits into
masterfrom
fix/mob-95-camerax-16kb-alignment
Aug 25, 2026
Merged

MOB-95: bump CameraX to 1.6.1 in the app template for 16 KB alignment#33
GenericJam merged 2 commits into
masterfrom
fix/mob-95-camerax-16kb-alignment

Conversation

@GenericJam

Copy link
Copy Markdown
Owner

Summary

Core's build.gradle.eex still links CameraX directly (for the camera preview, separately from what mob_camera/mob_scanner declare) — this copy has to move in lockstep with those two plugin repos (both bumped in companion PRs, MOB-95) or every generated app carries the same 16 KB page-alignment warning regardless of which camera plugins are active.

Test plan

  • mix test — 319 passed
  • mix format / mix credo --strict — clean
  • Pre-push hook — all green (no mix.exs touch, so no full-suite preflight triggered — ran the full suite manually anyway)

Linear: MOB-95

🤖 Generated with Claude Code

GenericJam and others added 2 commits August 25, 2026 00:08
Core still links CameraX directly (build.gradle.eex) for the camera
preview, separately from what mob_camera/mob_scanner declare in their
own manifests — this copy has to move in lockstep with those or every
mob_new-generated app carries the same 16 KB page-alignment warning
regardless of which camera plugins are active.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Same correction as mob_camera/mob_scanner: 1.6.1 fails Gradle build
against this template's toolchain (needs compileSdk 36 + AGP 8.9.1+, has
compileSdk 34 / AGP 8.2.0). 1.4.2 carries the 16 KB fix without that
requirement — device-verified via mob_plugin_demo (Moto G build + boot,
zero native-linkage errors).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@GenericJam

Copy link
Copy Markdown
Owner Author

Update: same correction as the mob_camera/mob_scanner companion PRs — CameraX 1.6.1 fails a real Gradle build against this template's toolchain (compileSdk 34 / AGP 8.2.0; 1.6.1 needs compileSdk 36 + AGP 8.9.1+). Switched to 1.4.2, device-verified via mob_plugin_demo on a physical Moto G (build succeeded, app booted clean, zero native-linkage errors).

@GenericJam
GenericJam merged commit 0e42b3f into master Aug 25, 2026
2 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.

1 participant