Starting a new project? Do this steps:
- Set new package name. Replace all
example.stocks.app
strings to your desired package name, eg.com.company.app
.
Important: You have to also rename a folder structure in
android/app/src/main/kotlin
fromcom/monterail/flutter/template
to match the package name, eg.com/company/app
(yes, you'll have to delete one level of directories). Without this change, built Android apps will not launch.
- Create Android signing key with
make create-android-signing
. - Set Sentry DSN in
environment/.dev-variables
andenvironment/.prod-variables
. It can be the same value, reported entries are tagged withdevelopment
orproduction
respectively. - Set proper APP_NAME in
environment/.dev-variables
andenvironment/.prod-variables
. Development name should have an[dev]
prefix to easily distinguish it from the prod app. - Replace
appTitle
inlib/src/localization/app_en.arb
to actual app title. - Replace the app logo and update the splashscreen with
make update-splashscreen
. - Replace app icons for Android, iOS and web. You can use icon.kitchen generate the files.
- Set proper project name in
pubspec.yaml
and replace allpackage:template
occurrences in Dart code topackage:${your_app_name}
. - Update
web/index.html
<title>
tag to proper app title. - Update
web/manifest.json
name
andshort_name
fields to proper app name. Also, consider updatingdescription
with something relevant.