Build the Flutter app (Android & iOS)
The POSPro apps connect to your admin panel. Install the admin panel first, then build the apps with its URL.
1. Install Flutter
- Download the Flutter SDK from flutter.dev (use the version in Server requirements; Flutter 3.x).
- Install Android Studio (Android SDK) — and Xcode on a Mac for iOS.
- Run
flutter doctorand fix anything it reports.
2. Open the project
cd your-app-source
flutter pub get
3. Connect it to your server
Open the app's config / constants file (its path is shown in the product's own guide, usually under lib/) and set the base URL to your domain:
const String baseUrl = "https://yourdomain.com";
4. Make it yours
- App name:
android/app/src/main/AndroidManifest.xml(android:label) andios/Runner/Info.plist(CFBundleDisplayName) - Package name: change
applicationIdinandroid/app/build.gradleand the Bundle Identifier in Xcode - App icon: replace the icon and run
flutter pub run flutter_launcher_icons(if included), or use Android Studio's Image Asset tool - Firebase (push notifications / login): add your
google-services.jsonandGoogleService-Info.plist
5. Build
flutter build apk --release # Android APK for testing
flutter build appbundle --release # Android App Bundle for Google Play
flutter build ipa --release # iOS (on a Mac, with signing set in Xcode)
6. Publish
Upload the .aab to Google Play Console and the .ipa to App Store Connect (via Xcode or Transporter).










