Closed tschanz-pcv closed 3 years ago
hi @tschanz-pcv, I'm not entirely sure what is the problem? is documentation not clear enough about proguard rules? should it say <PACKAGE_NAME>
instead? feel free to open PR suggesting a fix, thank you
I'm sorry as I'm not very knowledgeable about Gradle I interpreted this as a generic just like <fields>
and not a replacement you expect the user to make. Maybe use something else than <>
and mention that you expect the user to replace this with the actual package name in the guide?
hey @tschanz-pcv , I clarified docs a little in this commit: 3a9c461 I hope it makes more sense now. thank you
Describe the bug
When building the app for release, it fails with the following error message:
This is because of the ProGuard rule mentioned in the quickstart guide:
I could fix it by replacing
<APPLICATION ID>.BuildConfig
with the import path of the BuildConfig as it is inMainApplication.java
.Steps to Reproduce
Expected behavior
It should build the app successfully.
Stacktraces, logs, screenshots
Environment
Integration option
rnuc
CLI to inject environment (default integration option from quickstart guide)react-native-ultimate-config
within monorepo managed with Lerna or Yarn Workspaces Monorepo supportEnv file
Example of env file that is causing problems
OS
Packages
react-native
: 0.63.2react-native-ultimate-config
: ^3.2.4Run
react-native info
and post below: