feat(mobile): add iOS and Android UniFFI host packages#211
Closed
pgherveou wants to merge 1 commit into
Closed
Conversation
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.
2135473 to
94a612e
Compare
2daf12d to
48aa495
Compare
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.
Adds the mobile host packages built from
truapi-serverover UniFFI.uniffi-bindgen-cliis the thinuniffi_bindgen_mainwrapper;make uniffiruns it against thetruapi-servercdylib to emit the Kotlin and Swift bindings into their gitignored paths. The Android side is theio.parity:truapi-host-androidMaven library (AAR + Gradle publication, distributed via JitPack); the iOS side is theTrUAPIHostSwift Package.CI gains the
android-assemblejob (assembles the AAR and builds the Maven publication into a local repo) plus theandroid/**andios/**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.