Fixes
- Pass
screenshotStrategyoption frommobileReplayIntegrationto the Android native SDK (#5808)
Features
- Add
wrapExpoImageandwrapExpoAssetfor Expo performance monitoring (#5427)wrapExpoImageinstrumentsImage.prefetchandImage.loadAsyncfromexpo-imagewrapExpoAssetinstrumentsAsset.loadAsyncfromexpo-asset
import { Image } from 'expo-image'; import { Asset } from 'expo-asset'; import * as Sentry from '@sentry/react-native'; Sentry.wrapExpoImage(Image); Sentry.wrapExpoAsset(Asset);
- Adds tags with Expo Updates context variables to make them searchable and filterable (#5788)
- Automatically capture a warning event when Expo Updates performs an emergency launch (#5794)
- Adds environment configuration in the Expo config plugin. This can be set with the
SENTRY_ENVIRONMENTenv variable or insentry.options.json(#5796)["@sentry/react-native/expo", { "useNativeInit": true, "options": { "environment": "staging" } }]
- Generate
sentry.options.jsonfrom the Expo config pluginoptionsproperty (#5804)["@sentry/react-native/expo", { "useNativeInit": true, "options": { "dsn": "https://key@sentry.io/123", "tracesSampleRate": 1.0 } }]
Fixes
- Defer initial navigation span creation until navigation container is registered (#5789)
- Exclude server-only AI/MCP modules from native bundles, reducing bundle size by ~150kb (#5802)