- Install flutter sdk
- Install firebase tools, instructions here
- Login to firebase,
firebase login
-> make sure that you are a member of the firebase project - Get Flutter dependencies,
flutter pub get
- Add a
gradle.properties
file to«USER_HOME»/.gradle
(for windows,C:\Users\<<your user name>>\.gradle
) - Add
MAPBOX_DOWNLOADS_TOKEN=<<paste secret key here>>
to gradle.properties
Run the following command to successfully build the apk
flutter build apk --no-tree-shake-icons
- Install ruby 3
- Install fastlane tools via ruby,
bundle update
- Run fastlane,
bundle exec fastlane [lane]