What React Native libraries do you use?
Expo (mobile only)
Are you using sentry.io or on-premise?
sentry.io (SaS)
@sentry/react-native SDK Version
6.17.0
How does your development environment look like?
System:
OS: macOS 15.5
CPU: (14) arm64 Apple M4 Max
Memory: 174.34 MB / 36.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.11.0
path: ~/.local/state/fnm_multishells/79698_1753503416063/bin/node
Yarn:
version: 1.22.22
path: ~/.bun/bin/yarn
npm:
version: 10.9.0
path: ~/.local/state/fnm_multishells/79698_1753503416063/bin/npm
Watchman:
version: 2024.11.04.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /Users/frexuz/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.1
- iOS 18.1
- macOS 15.1
- tvOS 18.1
- visionOS 2.1
- watchOS 11.1
Android SDK: Not Found
IDEs:
Android Studio: 2024.2 AI-242.23339.11.2421.12550806
Xcode:
version: 16.1/16B40
path: /usr/bin/xcodebuild
Languages:
Java:
version: 22.0.2
path: /Users/frexuz/.jenv/shims/javac
Ruby:
version: 3.3.6
path: /Users/frexuz/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
installed: 19.1.1
wanted: 19.1.1
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.9
wanted: 0.76.9
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
Sentry.init()
Sentry.init({
dsn: 'https://7cd72812ccd1d7bba26860b8b4b94be4@o1582.ingest.us.sentry.io/4509699586654208',
sendDefaultPii: true,
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1,
integrations: [Sentry.mobileReplayIntegration()]
})
Steps to Reproduce
I used the sentry-wizard to get configured - and double checked these steps https://docs.sentry.io/platforms/react-native/manual-setup/expo
it added
plugins: [
[
'@sentry/react-native/expo',
{ my org/project settings here ...},
],
and the metro config, tho mine looks a bit different:
const { withNativeWind } = require('nativewind/metro')
const {
getSentryExpoConfig
} = require("@sentry/react-native/metro");
/** @type {import('expo/metro-config').MetroConfig} */
const config = getSentryExpoConfig(__dirname)
module.exports = () => {
const { transformer, resolver } = config
config.transformer = {
...transformer,
babelTransformerPath: require.resolve('react-native-svg-transformer/expo'),
}
config.resolver = {
...resolver,
assetExts: resolver.assetExts.filter((ext) => ext !== 'svg'),
sourceExts: [...resolver.sourceExts, 'svg'],
}
return withNativeWind(config, {
input: './src/assets/css/tailwind.css',
})
}
the whole setup works in Development mode, but not when I tried building the App in Release mode to test on my device (not with EAS)
bun expo run ios --device --configuration Release
Expected Result
to build the app successfully
Actual Result
› Generating debug ABCDevelopment » ABC.app.dSYM
› Executing ABCDevelopment » Bundle React Native code and images
❌ error: sentry-cli - To disable source maps auto upload, set SENTRY_DISABLE_AUTO_UPLOAD=true in your environment variables. Or to allow failing upload, set SENTRY_ALLOW_FAILURE=true
What React Native libraries do you use?
Expo (mobile only)
Are you using sentry.io or on-premise?
sentry.io (SaS)
@sentry/react-native SDK Version
6.17.0
How does your development environment look like?
Sentry.init()
Steps to Reproduce
I used the sentry-wizard to get configured - and double checked these steps https://docs.sentry.io/platforms/react-native/manual-setup/expo
it added
and the metro config, tho mine looks a bit different:
the whole setup works in Development mode, but not when I tried building the App in Release mode to test on my device (not with EAS)
bun expo run ios --device --configuration ReleaseExpected Result
to build the app successfully
Actual Result