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

feat(android): add appName; deprecate root, appFolder, appId #1029

Merged
merged 2 commits into from
Mar 16, 2020

Conversation

thymikee
Copy link
Member

@thymikee thymikee commented Mar 2, 2020

Summary:

Adding a new platforms.android.appName config, which infers Android app folder and id from available config data.

  • deprecates 3 android flags: --root, --appFolder, --appId.
  • fixes running app with --appIdSuffix, when app uses flavors
  • (possibly breaking) changed sourceDir to only look for android/ directory, which is a Gradle root project – this aligns sourceDir to iOS and allows for greater flexibility, because android/app was a hardcoded name for a default appFolder, which would likely break stuff when somebody started using appFolder flag

Fixes #781

Test Plan:

Updated tests, added new

@thymikee thymikee force-pushed the feat/android-use-config-2 branch 4 times, most recently from a0c89f9 to b1b0ad8 Compare March 3, 2020 12:59
@krizzu
Copy link
Member

krizzu commented Mar 16, 2020

cc @Esemesek
This looks fine by me, mind having a look? I'd love to have this before I move on with my other PRs.

@Esemesek Esemesek merged commit 19ac71f into master Mar 16, 2020
@Esemesek Esemesek deleted the feat/android-use-config-2 branch March 16, 2020 13:39
thymikee added a commit that referenced this pull request Mar 16, 2020
thymikee added a commit that referenced this pull request Mar 16, 2020
* followup: fix what #1029 broke

* get rid of appName from dependencies
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.

run-android should use config
3 participants