Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#268] [Android] Update android_deploy_production.yml to build and distribute release build #275

Merged

Conversation

luongvo
Copy link
Member

@luongvo luongvo commented Oct 25, 2023

What happened 👀

  • Add Android proguard rules.
  • Update README instruction to sign release build.
  • Update workflows to build Android production release build.
  • Update all CD workflow naming.

Insight 📝

Proof Of Work 📹

  • The sample project can build and run Android production release build successfully.
flutter run --flavor production --release
Using hardware rendering with device sdk gphone64 arm64. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib/main.dart on sdk gphone64 arm64 in release mode...
Reading env from: .env
Reading env from: .env
Reading env from: .env.staging
Reading env from: .env
Reading env from: .env.staging
Running Gradle task 'assembleProductionRelease'...                 27.8s
✓  Built build/app/outputs/flutter-apk/app-production-release.apk (16.3MB).
Installing build/app/outputs/flutter-apk/app-production-release.apk...        892ms

Flutter run key commands.
h List all available interactive commands.
c Clear the screen
q Quit (terminate the application on the device).
Application finished.
image

@luongvo luongvo added this to the 1.12.0 milestone Oct 25, 2023
@luongvo luongvo self-assigned this Oct 25, 2023
@luongvo luongvo force-pushed the feature/268-build-and-distribute-android-release-build branch from 070ebf6 to 4a3720a Compare October 25, 2023 03:46
@luongvo luongvo temporarily deployed to production October 25, 2023 03:46 — with GitHub Actions Inactive
@luongvo luongvo force-pushed the feature/268-build-and-distribute-android-release-build branch 2 times, most recently from c8cc399 to 3552064 Compare October 25, 2023 04:14
@luongvo luongvo temporarily deployed to production October 25, 2023 04:14 — with GitHub Actions Inactive
@luongvo luongvo force-pushed the feature/268-build-and-distribute-android-release-build branch from 7d73a15 to cb9993a Compare October 25, 2023 04:26
@luongvo luongvo marked this pull request as ready for review October 25, 2023 04:26
Base automatically changed from feature/245-make-template-as-template-repository to develop October 25, 2023 04:27
Copy link
Contributor

@manh-t manh-t left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@luongvo luongvo merged commit cfff3e0 into develop Oct 27, 2023
@luongvo luongvo deleted the feature/268-build-and-distribute-android-release-build branch October 27, 2023 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] Update android_deploy_production.yml to build and distribute release build
4 participants