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(react-native): Add Browser replay init to the RN docs #13233

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

krystofwoldrich
Copy link
Member

RN SDK supports browser replay, but it was not part of the docs.

Copy link

vercel bot commented Apr 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 11:04am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
changelog ⬜️ Ignored (Inspect) Visit Preview Apr 4, 2025 11:04am
develop-docs ⬜️ Ignored (Inspect) Visit Preview Apr 4, 2025 11:04am

Copy link

codecov bot commented Apr 4, 2025

Bundle Report

Changes will decrease total bundle size by 15 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 11.13MB -9 bytes (-0.0%) ⬇️
sentry-docs-client-array-push 9.47MB -6 bytes (-0.0%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.75MB -0.0%
../instrumentation.js -3 bytes 1.08MB -0.0%
9523.js -3 bytes 1.05MB -0.0%
view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -3 bytes 868.7kB -0.0%
static/chunks/8165-*.js -3 bytes 410.1kB -0.0%
server/middleware-*.js 5.55kB 6.55kB 555.3% ⚠️
server/middleware-*.js -5.55kB 1.0kB -84.74%
static/khY1zGM1ZwI37nX5Q0d6P/_buildManifest.js (New) 578 bytes 578 bytes 100.0% 🚀
static/khY1zGM1ZwI37nX5Q0d6P/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/qDfq-*.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️
static/qDfq-*.js (Deleted) -578 bytes 0 bytes -100.0% 🗑️

if (Platform.OS === 'web') {
integrations.push(Sentry.browserReplayIntegration());
}
integrations.push(Sentry.mobileReplayIntegration());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be in an else block?

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