-
-
Notifications
You must be signed in to change notification settings - Fork 343
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
Session replays recording while app is in background #4047
Comments
Hi @hammoudma, thank you for the message, could you describe more in detail, how to reproduce the behaviour? I've tried to open our sample app, capture an error, lock the simulator screen and unlock it 10 minutes later, the replay shows the app was suspended for the 10 minutes. |
Sorry I wasnt clear in the description, the replays I am getting are not of an error, they are just of the app idling for a long time. For example, is there a way to get rid of these or limit the recording time |
@hammoudma Thank you for the explanation. I understand now. |
@brustolin @romtsn Does the current Replay length limit includes the inactive/paused replay time? |
Technically, yes, but this should not happen. Once it goes into the background for more than 30 seconds, we should not consider it the same session. |
Bump cocoa when getsentry/sentry-cocoa#4303 is released. |
RN https://github.com/getsentry/sentry-react-native/releases/tag/5.34.0 contains the getsentry/sentry-cocoa#4303 fix. The current latest RN SDK version is https://github.com/getsentry/sentry-react-native/releases/tag/6.2.0 |
OS:
Platform:
SDK:
@sentry/react-native
(>= 1.0.0)react-native-sentry
(<= 0.43.2)SDK version: 8.33.0
react-native
version: 0.74.0Are you using Expo?
Are you using sentry.io or on-premise?
Configuration:
(
@sentry/react-native
)I have the following issue:
I am getting hours-long replay sessions of the app idling in the background. Is there a way to disable that?
I am assuming that that is also happening when the app is open and then the screen is locked.
Expected result:
I only get replays of user sessions were the user is using the app.
The text was updated successfully, but these errors were encountered: