Skip to content

Commit

Permalink
Merge pull request #6 from AddisMap/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
amenk authored Oct 8, 2023
2 parents 5658b59 + a64a462 commit 88d3055
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
17 changes: 15 additions & 2 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,24 @@ sudo apt install ruby ruby-dev
sudo gem install fastlane
```

### Uploading
### Releasing / Uploading to Google Play

1. Bump version in pubspec.yaml
2. Add changelog in `fastlane/metadata/android/en-US/changelogs`
2. Push to GitHub, merge to master, make a new tag

#### GitHub Release
3. `flutter build apk --analyze-size --target-platform android-arm`
4. Upload apk to GitHub

### Playstore Release

5. Build an use fastlane supply
```
cd android && fastlane supply --track internal --version-code 2
flutter build appbundle
cd android && fastlane supply --track internal --aab ../build/app/outputs/bundle/release/app-release.aab --version-code x # replace by the version code from pubspec.yaml
```
6. Go to [playstore](https://play.google.com/console/u/0/developers/?pli=1), check everything and promote from the internal to the the public track

### Taking Screenshots

Expand Down
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ android {
defaultConfig {
applicationId "com.addismaptransit.app"
minSdkVersion flutter.minSdkVersion
targetSdkVersion flutter.targetSdkVersion
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
Expand Down
3 changes: 0 additions & 3 deletions android/fastlane/metadata/android/en-US/changelogs/6.txt

This file was deleted.

4 changes: 4 additions & 0 deletions android/fastlane/metadata/android/en-US/changelogs/7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Updated Search Data
- Notification Function
- More Amharic Translations
- Target SDK: Android 13 (API-Level 33)
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.1+6
version: 1.0.2+7

environment:
sdk: ">=2.15.0 <3.0.0"
Expand Down

0 comments on commit 88d3055

Please # to comment.