You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Expo plugin configurations are generelly stored in plain text, and are also automatically added to built app bundles, and are therefore considered insecure.
9
+
- You should not set the auth token in the plugin config except for local testing. Instead, use the `SENTRY_AUTH_TOKEN` env variable, as pointed out in our [docs](https://docs.sentry.io/platforms/react-native/manual-setup/expo/).
10
+
- In addition to showing a warning, we are now actively removing an `authToken` from the plugin config if it was set.
11
+
- If you had set the auth token in the plugin config previously, **and** built and published an app with that config, you should [rotate your token](https://docs.sentry.io/product/accounts/auth-tokens/).
12
+
3
13
## 5.19.0
4
14
5
15
This release contains upgrade of `sentry-android` dependency to major version 7. There are no breaking changes in the JS API. If you are using the Android API please check [the migration guide](https://docs.sentry.io/platforms/android/migration/#migrating-from-iosentrysentry-android-6x-to-iosentrysentry-android-700).
constmissingAuthTokenMessage='# auth.token is configured through SENTRY_AUTH_TOKEN environment variable';
40
46
constmissingProjectMessage='# no project found, falling back to SENTRY_PROJECT environment variable';
41
47
constmissingOrgMessage='# no org found, falling back to SENTRY_ORG environment variable';
48
+
constexistingAuthTokenMessage=`# DO NOT COMMIT the auth token, use SENTRY_AUTH_TOKEN instead, see https://docs.sentry.io/platforms/react-native/manual-setup/`;
49
+
constmissingAuthTokenMessage=`# Using SENTRY_AUTH_TOKEN environment variable`;
? `# Configure this value through \`SENTRY_AUTH_TOKEN\` environment variable instead. See: https://docs.sentry.io/platforms/react-native/manual-setup/\nauth.token=${authToken}`
0 commit comments