willowtreeapps / Hyperion-Android

App Debugging & Inspection Tool for Android
MIT License
1.95k stars 144 forks source link

Different package name BuildConfig is not loaded #139

Open phicdy opened 6 years ago

phicdy commented 6 years ago

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 ?

ToxicBakery commented 6 years ago

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