iroh_flutter 1.3.0
iroh_flutter: ^1.3.0 copied to clipboard
Flutter plugin for iroh 1.x: peer-to-peer QUIC networking on Android, iOS, macOS, Linux, and Windows. Builds the Rust core into your app.
Changelog #
1.3.0 #
- Builds the native core against iroh 1.4.1 and exposes the new connection counters
(
ConnectionStats.sentPackets,sentBytes,lostPackets,lostBytes); see theiroh_quicchangelog. ABI version 3.
1.2.0 #
- iOS/macOS: support Swift Package Manager. This removes the warning
The following plugins do not support Swift Package Manager. Xcode cannot run cargo in a Swift package build, so the Swift package downloads a prebuilt dynamicirohdart_ffi.xcframeworkfrom the GitHub releasexcframework-v<version>.
1.1.1 #
- Android: fix the app build failure
Could not find any matches for rustls:rustls-platform-verifier:latest.release.rustls-platform-verifier0.7.1 no longer bundles its Kotlin component (AAR) in the crate, and it publishes the AAR under the Maven grouporg.rustls. The plugin now gets the AAR from the upstream Maven repository on GitHub. It uses the exact version thatCargo.locklocks. Android builds need network access togithub.com.
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.