Preparation for the App and PlayStore
How to make the app ready for upload to the AppStore and PlayStore
To make the app ready for the AppStore and PlayStore a few further steps are needed before the release.
Preparation for the AppStore
Change the
CFBundleName
parameter in ./ios/Runner/Info.plist (flutter_boilerplate cannot be used to publish this app as it is already taken. You must use a unique value for your app)Change your app name in ./ios/Runner/Info.plist under parameter
CFBundleDisplayName
Change the bundle id from
com.template.flutterBoilerplate
to a value of your choice. This can either be done via XCode or by searching and replacing every instance ofcom.template.flutterBoilerplate
in the whole project. (com.template.flutterBoilerplate cannot be used to publish this app as it is already taken. You must use a unique value for your app)Create an app icon and replace the current default icons in ./ios/Runner/Assets.xcassets/AppIcon.appiconset . We recommend to use an online tool like https://www.appicon.co/
Upload the app via Xcode
Preparation for the PlayStore
Change the
applicationId
in ./android/app/build.gradle (com.template.flutter_boilerplate cannot be used to publish this app as it is already taken. You must use a unique value for your app) IMPORTANT: Do not change thenamespace
. This will break the app. If you still want to change it then you need to changecom.template.flutter_boilerplate
inMainActivity.kt
as well.Change your app name in
./android/app/src/main/AndroidManifest.xml
under parameterandroid:label
Create an app icon and replace the current default icons in ./android/app/src/main/res . We recommend to use an online tool like https://www.appicon.co/
Sign the app
Create a file called
key.properties
in the./android
folder. It must have this contenstorePassword=[YOUR STORE PASSWORD] keyPassword=[YOUR KEY PASSWORD] keyAlias=[YOUR KEY ALIAS] storeFile=../app/upload-keystore.jks
Create a upload-keystore.jks file in the ./android/app folder. Use a program like the KeyStore Explorer to create the file. Fill the missing values in the key.properties file with the ones you define when creating the upload-keystore.jks file
Create an appbundle with the following terminal command and uplaod it to the play console
flutter create appbundle
Last updated