Skip to content

feat(mobile): add iOS and Android UniFFI host packages#211

Closed
pgherveou wants to merge 1 commit into
rust-core/01-core-runtimefrom
rust-core/02-mobile-bindings
Closed

feat(mobile): add iOS and Android UniFFI host packages#211
pgherveou wants to merge 1 commit into
rust-core/01-core-runtimefrom
rust-core/02-mobile-bindings

Conversation

@pgherveou

Copy link
Copy Markdown
Collaborator

Adds the mobile host packages built from truapi-server over UniFFI. uniffi-bindgen-cli is the thin uniffi_bindgen_main wrapper; make uniffi runs it against the truapi-server cdylib to emit the Kotlin and Swift bindings into their gitignored paths. The Android side is the io.parity:truapi-host-android Maven library (AAR + Gradle publication, distributed via JitPack); the iOS side is the TrUAPIHost Swift Package.

CI gains the android-assemble job (assembles the AAR and builds the Maven publication into a local repo) plus the android/** and ios/** path triggers, alongside the existing WASM bundle checks.

Second of a 3-PR stack carved from #104. Base: rust-core/01-core-runtime (#210).

Authored with assistance from Claude Code.

Add uniffi-bindgen-cli (the thin uniffi_bindgen_main wrapper) and the
mobile host packages it feeds: the io.parity:truapi-host-android Maven
library (AAR + Gradle publication, distributed via JitPack) and the
TrUAPIHost Swift Package. `make uniffi` generates the Kotlin + Swift
bindings from the truapi-server cdylib into the gitignored binding paths.

The host-packages CI workflow gains the android-assemble job and the
android/ios path triggers alongside the existing WASM bundle checks.
@pgherveou pgherveou force-pushed the rust-core/01-core-runtime branch from 2135473 to 94a612e Compare June 12, 2026 03:29
@pgherveou pgherveou force-pushed the rust-core/02-mobile-bindings branch from 2daf12d to 48aa495 Compare June 12, 2026 03:30
@pgherveou pgherveou marked this pull request as ready for review June 12, 2026 03:43
@pgherveou pgherveou closed this Jun 12, 2026
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