-
-
Notifications
You must be signed in to change notification settings - Fork 239
Closed
Labels
BugIssue typeIssue type
Description
When sentry-cli load envs from .env the react native Xcode script it wraps inherits all the loaded envs which clashes with other react native libraries loading envs during the bundling process.
- This was brought up in RCTFatal + 568 on 5.19.0 sentry-react-native#3625 (comment)
- More in-depth explanation by the
react-native-dotenvmaintainers here iOS release build: .env.production.local file does not overwrite variables defined in base .env file goatandsheep/react-native-dotenv#393 (comment)
Solution
sentry-cli should not pass the envs loaded from .env files to the script it wraps.
zarv1k
Metadata
Metadata
Assignees
Labels
BugIssue typeIssue type
Projects
Status
Done