📱Android

Setting up android app for build

  1. Change all occurrences of

com.weabbble.jolii

to your desire app package name.

  1. Change appicons at

./app/android/app/src/main/res/mipmap-hdpi
./app/android/app/src/main/res/mipmap-ldpi
./app/android/app/src/main/res/mipmap-mdpi
./app/android/app/src/main/res/mipmap-xhdpi
./app/android/app/src/main/res/mipmap-xxhdpi
./app/android/app/src/main/res/mipmap-xxxdpi
  1. Change Splash Screen at

./app/android/app/src/main/res/drawable-hdpi
./app/android/app/src/main/res/drawable-ldpi
./app/android/app/src/main/res/drawable-mdpi
./app/android/app/src/main/res/drawable-xhdpi
./app/android/app/src/main/res/drawable-xxhdpi
./app/android/app/src/main/res/drawable-xxxhdpi
  1. Rename folder: com/appfliiq/jolii in:

./app/android/app/src/main/kotlin/com/appfliiq/jolii

to your app package name.

  1. Create firebase android app in firebase console:

and fill in app details:

on next step download the google-services.json

and replace the one in:

./app/android/app/google-services.json
  1. Create app signing keystore file

Download https://keystore-explorer.org/ and use it to create a new .keystore file and replace the one at:

./app/android/app/jolii.keystore

Then set the keystore details in:

./app/android/key.properties
  1. Change constant values and colors at

./lamat/app/lib/v1/helpers/constants.dart
  1. Setup firebase cli on your terminal with following command:

firebase login

If firebase is not installed on your machine then go to https://firebase.google.com/docs/cli and follow the instructions on how to install Firebase CLI.

dart pub global activate flutterfire_cli
flutterfire configure
  1. You are ready to debug or build your app. To build app run the following command:

// Build with release keystore
flutter build apk --release
flutter build appbundle --release

Last updated