This guide walks you through setting up the MND mobile app development environment.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ihfaz297/MND/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Flutter SDK
Install Flutter SDK version 3.0.0 or higher:Platform-Specific Requirements
Android Development
-
Android Studio with:
- Android SDK (API level 21+)
- Android SDK Platform-Tools
- Android SDK Build-Tools
- Android Emulator or physical device with USB debugging enabled
-
Verify Android setup:
iOS Development (macOS only)
- Xcode (latest version from App Store)
-
CocoaPods:
- iOS Simulator or physical device
-
Verify iOS setup:
Clone Repository
Install Dependencies
Install all Flutter packages defined inpubspec.yaml:
provider- State managementhttp- HTTP clientgoogle_maps_flutter- Map integrationflutter_dotenv- Environment variablesshared_preferences- Local storage- And more (see
pubspec.yaml)
Configuration
Create a.env file in the project root:
See the Configuration Guide for detailed environment setup.
Configure Backend API URL
Editlib/config/api_config.dart to point to your backend server:
Platform-Specific Setup
Android Setup
-
Enable Google Maps in
android/app/src/main/AndroidManifest.xml: -
Minimum SDK: Ensure
android/app/build.gradlehas:
iOS Setup
-
Install CocoaPods dependencies:
-
Enable Google Maps in
ios/Runner/AppDelegate.swift: -
Minimum iOS version: Ensure
ios/Podfilehas:
Running the App
List Available Devices
Run on Android
Run on iOS
Development with Hot Reload
While the app is running:- Press
rto hot reload - Press
Rto hot restart - Press
qto quit
Building for Release
Android APK
build/app/outputs/flutter-apk/app-release.apk
Android App Bundle (for Play Store)
iOS IPA
Troubleshooting
Flutter Doctor Issues
Run diagnostics:Dependency Conflicts
Clear Build Cache
Android License Issues
iOS CocoaPods Issues
Development Tools
Recommended IDE Setup
- VS Code with Flutter/Dart extensions
- Android Studio with Flutter plugin
- Code completion
- Hot reload
- Debugging
- Widget inspector