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

Generate apk files as part of standard build process #42

Open
kevinsullivan opened this issue Nov 4, 2021 · 4 comments
Open

Generate apk files as part of standard build process #42

kevinsullivan opened this issue Nov 4, 2021 · 4 comments

Comments

@kevinsullivan
Copy link
Owner

Jacob and Nick,

Let's think about having a smart and documented deployment process. What I've seen is manually running a build, trying to email myself the apk file (and failing at that), eventually getting it onto the phone, acknowledging a bunch of unknown origin app warnings, and finally having it running. Exhausting! It seems to me that the build process should generate and post up-to-date apk files. These Flutter packages, or things like them, can then detect when an update is needed, and do the right thing. So let's talk about our build/deploy process.

@nicholasphair
Copy link
Collaborator

Absolutely, I was about to create this same issue :)

Skimming quickly, this might be a starting point
subosito/flutter-action#4

Then after that we can move to https://github.com/marketplace/actions/upload-android-release-to-play-store

Also, for installing on the device, my process was flutter install -d '<device id' it was a bit easier than emailing but your phone needs to be connected.

@GeorgeMiroulis
Copy link

I just spoke with nick about this and am gonna try to get it done before our next tuesday meeting.

@kevinsullivan
Copy link
Owner Author

Also, for installing on the device, my process was flutter install -d '<device id' it was a bit easier than emailing but your phone needs to be connected.

Nick, I'm not quite seeing the details as to how to make this work. Fill me in at some point.

@kevinsullivan
Copy link
Owner Author

George,

I'm glad you're picking this up. Feel free to sketch what you're proposing to do, or what you're in the middle of doing, for validation and feedback. What we'd ultimately like to have is that pushing to the main branch on our production repo triggers replacement of the current build in the App Stores. An intermediate result would be to build the required apk and related files and post them to our repo, at which point running apps could see that there's a new version to download.

Kevin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants