Skip to content
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

Feat: Support for Sentry Replay #281

Merged
merged 13 commits into from Jan 10, 2023
Merged

Feat: Support for Sentry Replay #281

merged 13 commits into from Jan 10, 2023

Conversation

lucas-zimerman
Copy link
Collaborator

@lucas-zimerman lucas-zimerman commented Dec 23, 2022

This is a WIP PR that aims to allow users to use Sentry Replay with Capacitor.

What was done:

  • Requires update on the Native SDK for Android: Add Replay Item types sentry-java#2441
  • Validate if it requires an update to the Cocoa SDK [X] (Not required0
  • Refactor on the Wrapper and on the bridge in order to support Sentry Reply (now it's sending an serialized binary array as envelope instead of a serialized json string)
  • Updated the Javascript SDK to the latest version.
  • Updated tests.
  • Removed Jcenter references.
  • Updated the sample app.

Next steps:

  • check on iOS what needs to be done and update the swift bridge.
  • merge changes on the Android SDK

SAMPLES:

iOS:
https://sentry.io/organizations/sentry-sdks/replays/sentry-capacitor:e0811a4eeca3448d866b92d00ddf4d84/?referrer=%2Forganizations%2F%3AorgId%2Fdiscover%2F%3AeventSlug%2F&t=158&t_main=console

Android:
https://sentry.io/organizations/sentry-sdks/replays/sentry-capacitor:9aeaa6aa073b440ab6d49508cd2595ab/?query=duration%3A%3E%3D5&referrer=%2Forganizations%2F%3AorgId%2Freplays%2F&statsPeriod=14d&yAxis=count%28%29

Close #279

@lucas-zimerman lucas-zimerman self-assigned this Dec 23, 2022
@lucas-zimerman lucas-zimerman added the enhancement New feature or request label Dec 23, 2022
@lucas-zimerman lucas-zimerman marked this pull request as ready for review December 26, 2022 10:03
android/build.gradle Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for Sentry/Replay
2 participants