Uh oh!
There was an error while loading. Please reload this page.
Added option to specify applicationId for Android builds - #8867
Conversation
ghost
commented
Jul 18, 2016
By analyzing the blame information on this pull request, we identified @burgalon and @jimthedev to be potential reviewers. |
satya164
commented
Aug 5, 2016
cc @Kureev can we not detect it automatically? |
ghost
commented
Aug 17, 2016
It's been a while since the last commit was reviewed and the labels show this pull request needs review. Based on the blame information for the files in this pull request we identified @grabbou as a potential reviewer. Could you take a look please or cc someone with more context? |
satya164
commented
Aug 17, 2016
Kureev
commented
Aug 21, 2016
Not that familiar with the subj. Is it something very common for every Android developer, @satya164? |
satya164
commented
Aug 21, 2016
@Kureev For background, We currently support specifying build flavors for Android. They are just variants of the same app with some differences and a different application id. But What I'd prefer is to automatically detect the application id and launch it instead of having to specify the application id. It's pretty common to have build flavors for different environments on android. |
Kureev
commented
Aug 21, 2016
If there is a way to do it automatically, I'd like to kindly ask @enterline to change current implementation. |
alenia
commented
Aug 22, 2016
Waiting for #8950 to update |
Allow optional
applicationIdbuild parameter. eg:It will then start the app with something like this:
Many times in Android, we have the need to set a different
applicationIdfor different build variants. eg:android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.awesomeproject" minSdkVersion 16 targetSdkVersion 22 versionCode 1 versionName "1.0" ndk { abiFilters "armeabi-v7a", "x86" } } ... productFlavors { all { } ProdEnv { } DevEnv { applicationId "com.awesomeproject.devenv" } } ... }This should address issue #8308
Test plan (required)
We have been using this modified version of runAndroid for quite some time. I have tested with and without the parameter and builds that have different application ids and builds that do not.