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

Different package name BuildConfig is not loaded #139

Open
phicdy opened this issue Jul 26, 2018 · 1 comment
Open

Different package name BuildConfig is not loaded #139

phicdy opened this issue Jul 26, 2018 · 1 comment

Comments

@phicdy
Copy link

phicdy commented Jul 26, 2018

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
Copy link
Contributor

#138

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

No branches or pull requests

2 participants