Overview
Softbee is a cross-platform Flutter application that runs on Android, iOS, Web, Windows, macOS, and Linux. This guide covers installation and setup for all supported platforms.Requirements:
- Flutter SDK 3.10.7 or higher
- Dart SDK (included with Flutter)
- Platform-specific development tools
Quick setup
Get Softbee running on your development machine in minutes.Configure environment variables
Create a
.env file in the project root directory with your API credentials:.env
Install dependencies
Install all required Flutter packages:The project uses the following key dependencies:
flutter_riverpod: ^2.6.1- State managementgo_router: ^17.0.1- Navigation and routingdio: ^5.3.3- HTTP client for API requestsshared_preferences: ^2.2.2- Local data persistenceflutter_secure_storage: ^10.0.0- Secure credential storagelottie: ^2.7.0- Smooth animationsgoogle_fonts: ^8.0.0- Custom typography
Platform-specific installation
- Android
- iOS
- Web
- Desktop
Android Setup
Install Android Studio
- Download and install Android Studio
- Open Android Studio and install the Android SDK
- Configure the Android SDK path in Flutter:
Set up an emulator or device
Option A: Use an Android emulator
- Open Android Studio
- Go to Tools > Device Manager
- Click Create Device
- Select a device definition (e.g., Pixel 5)
- Download and select a system image (API 30+)
- Click Finish to create the emulator
- Enable Developer Options on your Android device
- Enable USB Debugging
- Connect your device via USB
- Run
flutter devicesto verify connection
Build APK
To create an installable APK:build/app/outputs/flutter-apk/app-release.apk.Build App Bundle
For Google Play Store submission:Development workflow
Project structure
Softbee follows Clean Architecture principles:Running tests
Code quality
Troubleshooting
Flutter doctor shows issues
Flutter doctor shows issues
Run Common fixes:
flutter doctor -v to see detailed diagnostic information:- Android licenses: Run
flutter doctor --android-licenses - Xcode: Update to the latest version from App Store
- CocoaPods: Run
sudo gem install cocoapods
Build fails with dependency errors
Build fails with dependency errors
Clean and reinstall dependencies:For iOS specifically:
Hot reload not working
Hot reload not working
Restart the development server:If issues persist, stop and restart:
App crashes on startup
App crashes on startup
Check for missing environment variables:
- Verify
.envfile exists and contains required values - Ensure API endpoints are accessible
- Check device/emulator logs:
Verify installation
After installation, verify everything works:Next steps: Head over to the Quickstart Guide to create your first apiary and beehives, or explore the API Reference for development documentation.
Platform requirements summary
| Platform | Minimum Version | Development OS |
|---|---|---|
| Android | API 21 (Lollipop 5.0) | Windows, macOS, Linux |
| iOS | iOS 11.0 | macOS only |
| Web | Modern browsers (Chrome, Safari, Firefox, Edge) | Any |
| Windows | Windows 10+ | Windows |
| macOS | macOS 10.14+ | macOS |
| Linux | Ubuntu 20.04+, Fedora 35+ | Linux |