magic-wormhole / magic-wormhole.rs

Rust implementation of Magic Wormhole, with new features and enhancements
European Union Public License 1.2
645 stars 72 forks source link

For Android #221

Closed yhaipsha closed 2 months ago

yhaipsha commented 4 months ago

Can package to generate so library, which is convenient to call in Android

piegamesde commented 4 months ago

Currently we do not have any proper FFI bindings. We do have basic WASM bindings which may or may not help you. Generally, I'd recommend to use the library from Rust and create your own FFI barrier on the application side.

Also note that there exists an Android app using wormhole-rs, might be worth looking at how it handles this: https://gitlab.com/lukas-heiligenbrunner/wormhole

yhaipsha commented 4 months ago

thank you!

corbinu commented 2 months ago

@yhaipsha I would recommend this as I have found success with it: https://mozilla.github.io/uniffi-rs/