-
-
Notifications
You must be signed in to change notification settings - Fork 354
Description
What React Native libraries do you use?
React Native without Frameworks
Are you using sentry.io or on-premise?
sentry.io (SaS)
@sentry/react-native SDK Version
7.2.0
How does your development environment look like?
added internally
Sentry.init()
added internally
Steps to Reproduce
A customer reported unexpected behavior with session replay in React Native.
Their Sentry init includes:
sessionTrackingIntervalMillis: 1800000, // 30 minutes
They expected the session to stay alive for roughly 30 minutes of inactivity, but observed that the app was backgrounded at 34:58, and the replay ended at 42:37 so about 8 minutes after going to background.
Even though sessionTrackingIntervalMillis is 30 minutes, the replay stops much earlier (~8 minutes).
Expected Result
Replay should remain active (or resume) for up to the configured 30 minutes before timing out.
Actual Result
Replay ends roughly 8 minutes after backgrounding, regardless of the sessionTrackingIntervalMillis value.
Metadata
Metadata
Assignees
Labels
Projects
Status