Developer Quick-Start Guide (Android & iOS)
Use this guide to build the Secluso mobile application from source.
Important: Complete all core setup steps inHOW_TO.md
before continuing.
- Flutter Docs: flutter.dev
- Firebase Setup for Flutter: firebase.google.com/docs/flutter/setup
Make sure the following tools are installed:
Tool | Purpose |
---|---|
Flutter SDK (3.x or later) | Cross-platform mobile framework |
Rust + rustup | Native library support |
Android NDK | Compile Rust code for Android |
Visual Studio Code | Recommended IDE |
Firebase Account | Required for push notifications |
You can verify setup with flutter doctor
.
git clone https://github.com/secluso/secluso.git
cd secluso
- Launch Visual Studio Code
- Open the secluso/ folder
- Install any recommended extensions (Flutter, Rust, Dart)
flutter pub get
- Follow the official Firebase guide
- When asked which platforms to support, select iOS and Android only.
- After setup, move the generated file:
lib/firebase_options.dart → lib/notifications/firebase_options.dart
From the project root:
cd rust
Add Android build targets:
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
Build and export to the Android JNI directory:
cargo ndk -o ../android/app/src/main/jniLibs build
This will generate .so files for each architecture and place them in the appropriate folder.
- Plug in your Android device via USB
- Enable Developer Mode and USB Debugging
- Ensure the device is recognized in Visual Studio Code (bottom-right status bar)
- From the project root, run:
flutter run
This will build and launch the app on your connected device.
Problem | Solution |
---|---|
App doesn’t update after flutter run |
Run flutter clean first |
Rust compilation errors | Ensure targets and NDK are properly set |
Need help or want to contribute? Visit the Secluso GitHub Repository.