-
-
Notifications
You must be signed in to change notification settings - Fork 332
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 Replay is not working in Android #4044
Comments
Hi @moonfoan, For Android, could you share with us Logcat log from the application start till the error is captured with |
Thank you @krystofwoldrich for helping to look into my issue. There are the log entries from Sentry after I added
|
Thank you for the JS logs, based on the last message, it seems like the Replay was not started. I assume both option were set to 1.0. replaysSessionSampleRate: 1.0,
replaysOnErrorSampleRate: 1.0, Could you also share with us the Android Logcat logs, as the Replays are recorded on the native layers. |
Here I did a
And yes, I have the sample rate set at 1.0:
I also tried |
Thank you for the logs, based on
the Session Replay feature does not initialize on the Android layer. It's likely due to unfinished init due to:
Are you setting |
@krystofwoldrich Indeed I used the build number for the dist value, which is a large numeric value on Android side. I'm a bit surprised since it didn't seem to cause any issue on crash reporting with the Sentry SDK. After I convert the value with |
OS:
Platform:
SDK:
@sentry/react-native
(>= 1.0.0)react-native-sentry
(<= 0.43.2)SDK version: 5.30.0
react-native
version: 0.71.17Are you using Expo?
Are you using sentry.io or on-premise?
If you are using sentry.io, please post a link to your issue so we can take a look:
[Link to issue]
Configuration:
(
@sentry/react-native
)I have the following issue:
Session Replay is not working on Android. It works fine in iOS. I setup the latest Sentry sdk 5.30 using the wizard, and I enabled Session Replay from init(). I manually threw a JS exception to test the Replay feature. The errors are caught correctly by Sentry in both the Android and iOS build, however, the Session Replay only showed up on the iOS side but never turn up on the Android side.
Steps to reproduce:
Actual result:
No Session Replay is found for the exception
Expected result:
Session Replay is available for the exception
The text was updated successfully, but these errors were encountered: