-
Notifications
You must be signed in to change notification settings - Fork 0
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
Android: session replay causes crashes #10
Comments
Hey @jrusso1020! Any chance you are instantiating PostHog in a background thread? Pure speculation here, but if that's the case try switching to ui thread first. |
@jrusso1020 for the |
@jrusso1020 I could not reproduce the issue but maybe PostHog/posthog-android#201 and #11 should help, we will get it merged/released and will let you know, it'd be awesome if you can give it a try (watch console logs btw), thanks. |
@jrusso1020 can you try to upgrade the replay plugin to https://github.com/PostHog/posthog-react-native-session-replay/releases/tag/0.1.6 and the SDK to https://github.com/PostHog/posthog-js-lite/releases/tag/posthog-react-native-v3.3.7 and let us know? thanks. |
We are getting the following error on react-native 0.74.5 and "expo": "~51.0.38" and the latest versions of posthog and session-replay plugin
"posthog-react-native": "^3.3.6",
"posthog-react-native-session-replay": "^0.1.5",
Our configuration is like so
This error occurs so much that it will eventually crash the app. Disabling session replay explicitly we avoid this issue. I also thought that enableSessionReplay would only be enabled when posthog itself was enabled, but it seems like that may not be the case?
These errors trigger the following error
The text was updated successfully, but these errors were encountered: