-
Notifications
You must be signed in to change notification settings - Fork 2
Where/how to set ENV values on Podfile on 0.71.0? #222
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
Comments
I think this variable is more used for the CI/CD, when you are running your jobs you can pass You can set your I suggest to remove // react-native.config.js
module.exports = {
dependencies: {
'react-native-flipper': { platforms: { ios: null } },
},
}; |
that may be a solution to do it in but we still dont know how it works. does it read from |
Well you could easily test it out by creating This way of disabling flipper is clearly setup for disable it for the CI builds by passing a variable, while building. And this makes sense, because it should reduce build times and you don't need flipper in production. |
Environment
Things I’ve done to figure out my issue
NO_FLIPPER
, and the only result is from thePodfile
itselfUpgrading version
From 0.70.6 to 0.71.0 - https://react-native-community.github.io/upgrade-helper/?from=0.70.6&to=0.71.0
Description
i feel like this is a continuation of this issue: #193, as it is very similar.
for example, the new
Podfile
syntax uses anENV
variable calledNO_FLIPPER
to enable/disable flipper. but where can we see/set this variable for our environment? i cant see a way where we can see the env value of this variable or change it.looks like this:
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
i thought maybe it was in
.xcode.env
, but a comment in the original thead: #193 (comment)says this is mainly used for Node.
Reproducible demo
The text was updated successfully, but these errors were encountered: