● Ship · Build
Release builds
APK, app bundle and IPA.
Commands for store builds. Do this after you changed the name, bundle id, icon and API_BASE_URL.
01Before you build
- Bundle id and package name changed, App Group changed (App setup)
- Server deployed on HTTPS and
API_BASE_URLready version:inpubspec.yamlandAPP_VERSIONmatch- Support, privacy and terms links set in the console
cd app
flutter pub get
flutter analyze
flutter test
02Android
Signing is not set up
In android/app/build.gradle.kts the release build is signed with the debug key (the Flutter template default). Google Play will not accept that. Create your own upload keystore and signing config first, following Flutter's "Build and release an Android app" guide, then build.
flutter build apk --release --dart-define=API_BASE_URL=https://followlens.example.com --dart-define=APP_VERSION=1.0.0
flutter build appbundle --release --dart-define=API_BASE_URL=https://followlens.example.com --dart-define=APP_VERSION=1.0.0
Output: build/app/outputs/flutter-apk/app-release.apk and build/app/outputs/bundle/release/app-release.aab. Upload the .aab to Google Play. The author built a debug APK; the release build needs your signing.
03iOS
- Open
ios/Runner.xcworkspacein Xcode. For both targets (Runner and FollowlensWidget) select your Team and bundle ids, enable In-App Purchase on Runner and App Groups on both. - Build.
flutter build ipa --release --dart-define=API_BASE_URL=https://followlens.example.com --dart-define=APP_VERSION=1.0.0 - Upload the archive from
build/ios/archivewith Xcode Organizer or Transporter to App Store Connect.
If pod install complains, run pod install --repo-update in ios/. The Debug build excludes the x86_64 simulator architecture (Apple Silicon simulators are unaffected).
04Store listing notes
- State that the app is not affiliated with Instagram or Meta and never asks for an Instagram password.
- Declare the permissions listed in App setup and the opt-in usage ping in your privacy policy.
- Do not use Instagram's name, logo or colours in your listing or icon.