Hyperion-Android icon indicating copy to clipboard operation
Hyperion-Android copied to clipboard

Different package name BuildConfig is not loaded

Open phicdy opened this issue 7 years ago • 1 comments

We sometimes add the suffix like debug to the package name for debug build by applicationIdSuffix '.debug'. But current hyperion-build-config plugin loads by getPackageName() + ".BuildConfig".

https://github.com/willowtreeapps/Hyperion-Android/blob/develop/hyperion-build-config/src/main/java/com/willowtreeapps/hyperion/buildconfig/list/BuildConfigListActivity.java#L50

It means we can only load BuildConfig that is under same package with build's package name. Android build doesn't replace the package of the classes, so if we change the package name, there are difference with build's package name and BuildConfig package.

Could you please provide us with the way to change the setting ?

phicdy avatar Jul 26 '18 05:07 phicdy

https://github.com/willowtreeapps/Hyperion-Android/pull/138

ToxicBakery avatar Jul 26 '18 12:07 ToxicBakery