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

[android] flavorless builds #3386

Merged
merged 3 commits into from
Feb 1, 2019
Merged

[android] flavorless builds #3386

merged 3 commits into from
Feb 1, 2019

Conversation

esamelson
Copy link
Contributor

@esamelson esamelson commented Feb 1, 2019

Why

Instead of having devKernel and prodKernel build flavors on our Android project (and thus all ExpoKit projects) we can just use the debug/release configuration to determine whether to use dev or prod home. In practice this is what we always do anyway (we never build prodKernelDebug, for example) and this will make ExpoKit projects more similar to bare RN.

How

Test Plan

Ran ./gradlew installDebug and ./gradlew assembleRelease, ensured that both ran the correct copies of home by looking at the manifest logged in adb logcat.

Copy link
Contributor

@sjchmiela sjchmiela left a comment

Choose a reason for hiding this comment

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

Thanks so much for taking care of this! 💯

@esamelson esamelson merged commit 1699a24 into master Feb 1, 2019
@esamelson esamelson deleted the @eric/flavorless-builds branch February 1, 2019 19:54
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

Successfully merging this pull request may close these issues.

None yet

2 participants