Go to file
2025-07-07 21:20:53 -04:00
android Initial commit: working Android version 2025-07-07 21:20:53 -04:00
ios Initial commit: working Android version 2025-07-07 21:20:53 -04:00
lib Initial commit: working Android version 2025-07-07 21:20:53 -04:00
linux Initial commit: working Android version 2025-07-07 21:20:53 -04:00
macos Initial commit: working Android version 2025-07-07 21:20:53 -04:00
rust Initial commit: working Android version 2025-07-07 21:20:53 -04:00
test Initial commit: working Android version 2025-07-07 21:20:53 -04:00
web Initial commit: working Android version 2025-07-07 21:20:53 -04:00
windows Initial commit: working Android version 2025-07-07 21:20:53 -04:00
.gitignore Initial commit: working Android version 2025-07-07 21:20:53 -04:00
.metadata Initial commit: working Android version 2025-07-07 21:20:53 -04:00
analysis_options.yaml Initial commit: working Android version 2025-07-07 21:20:53 -04:00
pubspec.lock Initial commit: working Android version 2025-07-07 21:20:53 -04:00
pubspec.yaml Initial commit: working Android version 2025-07-07 21:20:53 -04:00
README.md Initial commit: working Android version 2025-07-07 21:20:53 -04:00

Iroh Sync Mobile Client This guide provides the necessary steps to build and run the application on Android from a Windows development environment.

Prerequisites Before you begin, ensure you have the following installed and available in your system's PATH:

Flutter SDK: Installation Guide

Rust Toolchain: Installation Guide (includes rustup, cargo, and rustc)

  1. Install Bridge Code Generator The project requires a command-line tool to connect the Rust and Dart code. Install it globally using cargo:

cargo install flutter_rust_bridge_codegen

  1. Build and Run the Application Follow these steps in order from the root directory of the project.

A. Get Flutter Dependencies: This command downloads all the required Dart packages specified in pubspec.yaml.

flutter pub get

B. Generate the Rust-Dart Bridge: This command reads the Rust source code and generates the necessary Dart "glue" code.

flutter_rust_bridge_codegen generate

C. Run the App: Connect an Android device (with USB Debugging enabled) or start an Android emulator. Then, run the following command to compile the entire project, install it, and launch it on your device.

flutter run

Note: The first build can take several minutes as it needs to compile the Rust library for the first time. Subsequent builds will be much faster.