-
Notifications
You must be signed in to change notification settings - Fork 657
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
Problems with v0.12.0 + React Native 0.61.4 #412
Comments
I have the same issue, and haven't been able to find a workaround. |
Now I cannot access env from Config object in iOS from React, works fine in Android though. |
I have the same issue, and haven't been able to find a workaround. |
+1 |
facing same issue. |
+1 |
Not sure if this helps but... We just upgraded to the latest and had to remove plist preprocessing (this is in Build Settings).
Also, we did not need to modify the Podfile with the script @c0d3x posted above. |
Any update on this? |
same issue |
1 similar comment
same issue |
same here |
Same issue |
any updates? |
Same here |
Seeing the same issue as well. We have rolled back to 0.11.7 |
I don't know if this will help, but I got some clarification to my comment here (see the comments that follow it as well). It is working for me, using v0.12.0 + RN 0.61.5. |
hey 👋 I kindly ask to try my lib https://www.npmjs.com/package/react-native-ultimate-config if the issue persists. it works well for me in rn60+ |
Is there a migration guide from 0.11.7 to 0.12.0?
What do I need to remove from the old config, and what do I need to add to the new config?
Do I need this config in the Podfile?
I have added a config file in ios folder called Config.xcconfig with this line:
#include? "tmp.xcconfig"
I get some build errors, when I try to upgrade from 0.11.7 to 0.12.0.
I have the following:
echo ".env.test" > /tmp/envfile
Added this line to it as the guide suggests:
I get this build error:
'/node_modules/react-native-config/ios/ReactNativeConfig/ReadDotEnv.rb:27:in
join': no implicit conversion of nil into String (TypeError) from /node_modules/react-native-config/ios/ReactNativeConfig/ReadDotEnv.rb:27:in
read_dot_env'from ./node_modules/react-native-config//ios/ReactNativeConfig/BuildDotenvConfig.rb:15:in `
reading env file from and writing .m to
going to read env file from root folder
The text was updated successfully, but these errors were encountered: