-
Notifications
You must be signed in to change notification settings - Fork 38
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
RN Session replay plugin isn't starting a new recording after app restart #268
Comments
@marandaneto I just tried this build since it contains both the Identity and sesion changes. When I'm compiling, I'm noticing a strange error preventing my app from bundling. Seems like it's more related to the identity ticket?
|
I found where it looks like you exposed the variable: It seems like the version bump maybe wasn't picked up in a release? Which library uses the posthog-ios dependency? |
@chasem-dev have you upgraded your pods? Try to clean and install your pods, the session replay plugin uses the iOS SDK |
@marandaneto That worked! I ran |
Bug description
Context PostHog/posthog#13269 (comment)
This is by design but I understand why it isn't obvious.
On RN, the session only rotates if the app is inactive for more than 30 minutes, and the session ID survives app restart which is different than Android and iOS.
Changing this would break the behavior of people who rely on this for session durations.
So we have a few options here, change the behavior and break compatibility, add a flag to opt in to the new behavior, or else.
How to reproduce
Related sub-libraries
Additional context
Thank you for your bug report – we love squashing them!
The text was updated successfully, but these errors were encountered: