feat(Android): create separate staging app #552
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Ticket: Set up separate staging and prod Android builds
I'm surprised that the hardest part of this was finding the Android Studio option to switch between flavors (which I've added to the README).
I've dusted off my bad placeholder staging app icon and set it up with the same background/foreground setup as when I imported the placeholder prod app icon back in the day. I've gone ahead and updated the names on both to match the iOS app names.
We can't ship updates to the Google Play staging app since it doesn't exist, so the CI is still pointing at prod. I've submitted the infra request to create the staging app in Google Play.
None of these assets actually need to be rendered as multi-DPI PNGs; I may have been too eager to automate that setup in the beginning. I have created a separate task to resolve this mess.
Testing
Manually verified that the apps can be installed in parallel and talk to the right backend.