Skip to content

Conversation

@krystofwoldrich
Copy link
Contributor

@krystofwoldrich krystofwoldrich commented Apr 23, 2024

#skip-changelog

📜 Description

This PR adds sendReplay method which is not depending on the Event class and so can be used by the hybrid SDKs to capture Replay for hybrid errors (JS errors).

💡 Motivation and Context

💚 How did you test it?

Tested with the RN Sample app.

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

@krystofwoldrich krystofwoldrich changed the title feat(replay): Add sendReplay method for Hybrid SDKs [SR] Add sendReplay method for Hybrid SDKs Apr 23, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Apr 23, 2024

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 386.76 ms 483.21 ms 96.46 ms
Size 1.70 MiB 2.32 MiB 635.46 KiB

Baseline results on branch: rz/feat/session-replay-network-requests

Startup times

Revision Plain With Sentry Diff
331bc76 425.82 ms 504.04 ms 78.22 ms

App size

Revision Plain With Sentry Diff
331bc76 1.70 MiB 2.32 MiB 635.66 KiB

Previous results on branch: kw/feat/session-replay-send-replay-for-hybrids

Startup times

Revision Plain With Sentry Diff
842fc3c 401.36 ms 479.80 ms 78.44 ms

App size

Revision Plain With Sentry Diff
842fc3c 1.70 MiB 2.32 MiB 635.46 KiB

Base automatically changed from rz/feat/session-replay-network-requests to rz/feat/session-replay April 25, 2024 10:20
@romtsn romtsn merged commit 9295f0f into rz/feat/session-replay Apr 25, 2024
@romtsn romtsn deleted the kw/feat/session-replay-send-replay-for-hybrids branch April 25, 2024 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants