-
Notifications
You must be signed in to change notification settings - Fork 731
chore: remove custom testflight module #7082
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
base: develop
Are you sure you want to change the base?
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
🧪 Flashlight Performance Report (AWS Device Farm) 🔀 Commit: db9ad8c
|
| enableAutoSessionTracking: false, | ||
| enableTracing: false, | ||
| environment: isTestFlight ? 'Testflight' : SENTRY_ENVIRONMENT, | ||
| environment: IS_TEST_FLIGHT ? 'Testflight' : SENTRY_ENVIRONMENT, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: TestFlight, as I see we're using SENTRY_ENVIRONMENT=LocalRelease for example with CamelCase (also consistent with getInstallerPackageNameSync())
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would agree but I think this would cause us to have two environments show up in Sentry, "TestFlight" and "Testflight". We would have to just ignore the old one. Not the worst thing, but not sure it's worth it.
| candlestick_charts_enabled: IS_DEV || isTestFlight || false, | ||
| rainbow_toasts_enabled: IS_DEV || isTestFlight || false, | ||
| candlestick_charts_enabled: IS_DEV || IS_TEST_FLIGHT || false, | ||
| rainbow_toasts_enabled: IS_DEV || IS_TEST_FLIGHT || false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we remove || false here as all previous types are strictly boolean?
i1skn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM, see just small nits
olerass
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a bit anti-pattern we even have such a var to begin with, and switching code behavior based on it. BUT with that said, this change is still a good improvement 🙏 /boy-scout-rule
What changed (plus any additional context for devs)
react-native-device-infoto latest versionreact-native-device-infoenv.tswith other similar constants.