-
Notifications
You must be signed in to change notification settings - Fork 83
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
Error: You attempted to set the key sdk
with the value
#347
Comments
Facing the same issue. Reverting to @sentry/[email protected] and [email protected] solved the issue, but I now get the following warning when running
|
FWIW, production build runs fine, but it is annoying that my dev build crashes every time I edit App.tsx. Would appreciate a speedy resolution to this issue from the maintainers. Thanks ahead of time! |
Hey there, this issue is affecting us directly, our production build works fine but we are waiting to upgrade our Sentry packages and expo sentry to fix one other issues related to Sentry Java that was causing our App to crash on reload, and we do reload the App to apply OTA updates. Basically this is causing our app to be in a state we cant enforce OTA updates until this is fixed. : / |
The problem with reload causing crash is solved in sentry-expo pre-release. https://github.com/expo/sentry-expo/releases/tag/v7.0.0 |
Yes but then we get this error |
Well this error is just an inconvenience while developing, version 7 works well, at least in my case anyway. Hopefully this will be fixed soon though, looking forward to it. |
Hi, is this only affecting dev build? I am facing this issue in my [email protected] and @sentry/[email protected] |
I am not sure I can agree with that since the app crashing every time we save something is pretty bad. |
Yeah I can imagine, if it's happening to you on every save, that's not my case. Maybe disabling Sentry in DEV would do the trick. |
Facing the same issue in my expo dev client, pretty annoying issue |
Facing the same issue with development build
|
Facing the same issue, it crashes on every change. |
Facing the same issue with expo dev client |
Same problem here. |
Same problem here. Any update on this? |
Fix in sentry-expo 7.0.1 is now causing an fastlane error when building for production. See #359. Thanks for the help |
I'm facing the same error after the creation of Expo secret and removing Tried with 7.0.1 but doesn't work, same error. |
Here is a workaround that worked for me if (__DEV__) {
if (!global.sentryInit) {
Sentry.init({
...
});
global.sentryInit = true;
}
} else {
Sentry.init({
...
});
} |
Didn't work in my case, I tried with app.config.js and with a simple app.json, removing authToken from app.json |
Facing the same issue. |
Anyone with a fix? |
Summary
Getting the following error when updating App.tsx on a Expo development build with
sentry-expo
.Error does not occur when
enableNative
is set to false.Managed or bare workflow? If you have
ios/
orandroid/
directories in your project, the answer is bare!managed
What platform(s) does this occur on?
iOS
SDK Version (managed workflow only)
48
Environment
expo-env-info 1.0.5 environment info:
System:
OS: macOS 13.0.1
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.16.0 - /usr/local/bin/node
Yarn: 1.22.15 - ~/.yarn/bin/yarn
npm: 8.1.2 - /usr/local/bin/npm
Managers:
CocoaPods: 1.8.4 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
Android SDK:
API Levels: 28, 29
Build Tools: 28.0.3, 29.0.3
System Images: android-29 | Google Play Intel x86 Atom
IDEs:
Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
npmPackages:
expo: ^48.0.16 => 48.0.19
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.71.8 => 0.71.8
react-native-web: ~0.18.9 => 0.18.12
npmGlobalPackages:
eas-cli: 3.13.3
expo-cli: 6.3.8
Expo Workflow: managed
Reproducible demo or steps to reproduce from a blank project
Any build with sentry-expo v6.2.1.
The text was updated successfully, but these errors were encountered: