iroh_flutter 1.1.0
iroh_flutter: ^1.1.0 copied to clipboard
Flutter plugin for iroh 1.x - peer-to-peer QUIC networking on Android, iOS, macOS, Linux, and Windows. Builds the native Rust core into your app via cargokit and exposes the full iroh_quic API.
Changelog #
1.1.0 #
- Builds the native core against iroh 1.3.0 and exposes its new APIs (batch datagrams,
RelayStatus.authDeniedReason); see theiroh_quicchangelog. ABI version 2. flutter_lints^6.0.0. The analysis options now excludebuild/and the platform folders, so Flutter 3.47+ no longer rewrites them onpub get.
1.0.3 #
- Windows/Linux: fix the CMake generate failure
No target "iroh_flutter_plugin"when building an app that depends on the plugin. The desktop builds declared the bundled library with the non-FFI-plugin$<TARGET_FILE_DIR:...>expression; they now use the library path cargokit exports, so the Rust cdylib builds and bundles correctly on both platforms.
1.0.2 #
- Android: fix release-build abort
android context was not initializedon the firstEndpoint.bind. The plugin now registers anIrohFlutterPluginclass that installs the app'sJavaVM+Contextinto the native library and initializesrustls-platform-verifier(bundling its Kotlin component) before any Dart code runs.
1.0.1 #
Initial release of the iroh_flutter plugin (the Flutter half of the iroh_dart →
iroh_quic/iroh_flutter split).
- Flutter FFI plugin building the iroh 1.0 Rust core (
irohdart_ffi) into the app via cargokit on Android, iOS, macOS, Linux, and Windows. - Re-exports the full
iroh_quicAPI;Iroh.init()loads the bundled native library (nosetupstep on Flutter). - Android NDK r28+ (16 KB page alignment); iOS 13+ / macOS 11+;
-force_loadstaticlib on Apple.