What React Native libraries do you use?
React Navigation
Are you using sentry.io or on-premise?
sentry.io (SaS)
@sentry/react-native SDK Version
6.5.0
How does your development environment look like?
⬇ Place the `npx react-native@latest info` output here. ⬇
Tried integrating Sentry Replays to our app and rolled out to huge number of user getting crash on this
ReplayCache.persistSegmentValues
java.io.FileNotFoundException - /data/user/0/com.xxxx/cache/sentry/9fac5efc8ecbf56be9aa951ac18dd12ff48aa9aa/replay_d16435ddf6bd449d8db2b4c14acae9f4/.ongoing_segment
Sentry.init()
Sentry.init({
dsn: 'xxxx',
release: `x.x`,
dist: `${versionCode}`,
replaysSessionSampleRate: '0',
replaysOnErrorSampleRate: '1.0',
beforeSend(event, hint) {
},
enableAutoSessionTracking: true,
environment: __DEV__ ? 'development' : logEnabled ? 'qa' : 'production',
ignoreErrors: [
'Non-Error exception captured with keys: code, error, message, payload',
'Non-Error exception captured',
'Non-Error exception captured with keys',
'Non-Error exception captured with keys:'
],
tracesSampleRate: performaceSample,
sampleRate,
integrations: [
new NativeManager.ReactNativeTracing({
tracingOrigins: [NativeManager.baseUrl],
routingInstrumentation
}), // It follows correct methods
NativeManager.mobileReplayIntegration({
maskAllImages: false,
maskAllVectors: false,
maskAllText: false
}) // It follows correct methods
]
});
Steps to Reproduce
We dont have specific STR found this error on our console, we are yet to scale for full potential, we were experimenting this
Expected Result
It should not produce any crash as before
Actual Result
File couldnt be found and creating a crash

What React Native libraries do you use?
React Navigation
Are you using sentry.io or on-premise?
sentry.io (SaS)
@sentry/react-native SDK Version
6.5.0
How does your development environment look like?
Sentry.init()
Steps to Reproduce
We dont have specific STR found this error on our console, we are yet to scale for full potential, we were experimenting this
Expected Result
It should not produce any crash as before
Actual Result
File couldnt be found and creating a crash