Skip to content
Augsorn Chanklad edited this page Nov 22, 2019 · 1 revision

Deployment

Checklist for what to do for deploy app on app store and play store. Probably using for create automate task to in the future.

Android

  • Verify android/app/google-services.json. (Firebase configuration file)
  • Verify android/app/release-key.keystore. (Release keystore for play store)
  • Verify package and label value in android/app/src/main/AndroidManifest.xml
  • Verify file app build.gradle in android/app/build.gradle. Make sure applicationId and signing config is correct.
  • Verify package structure in android/app/src/main/kotlin
  • Verify import package name in android/app/src/main/kotlin/{your}/{package}/{name}/MainActivity.kt
  • Verify app icons
    • android/app/src/res/mipmap-hdpi
    • android/app/src/res/mipmap-mdpi
    • android/app/src/res/mipmap-xhdpi
    • android/app/src/res/mipmap-xxhdpi
    • android/app/src/res/mipmap-xxxhdpi
  • Verify constants dart file in lib/constants.dart

Run with command $ flutter build android --appbundle

Output as .aab file will save in build/app/outputs/aab

iOS

  • ios/Runner/Info.plist
  • ios/Runner/Assets.xcassets/AppIcon.appiconset
  • ios/Runner/GoogleService-Info.plist (Firebase configuration file)

Run with command $ flutter build ios

For build archive and upload to ituneconnect. Currently need to do manually from xcode.

Clone this wiki locally