getsentry / getsentry/sentry-react-native

Improve the Empower Plant demo

Offen
#6,492 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Improvement React-Native
Vorherrschende Sprache
TypeScript
Sterne
1.8k
Forks
366
Ø Merge
1 T. 5 Std.
Gemergte PRs (30 T.)
93

Beschreibung

Improvements for the React Native sample app (Empower Plant demo):

- Remove the custom `UserFeedbackModal` (built-in `feedbackIntegration()` is already active in `App.tsx`)
- Add `hermesProfilingIntegration()` explicitly instead of relying on `profilesSampleRate` alone
- Call `Sentry.appLoaded()` / `reportFullyDisplayed()` to demo standalone app-start + manual TTFD
- Add a "Block JS Thread" button to demo ANR detection (currently on by default but never exercised)
- Configure `networkRequestHeaders` / `networkResponseHeaders` in the existing `mobileReplayIntegration()` init
- Add a rage-tap button (10 rapid taps) to trigger the `ui.multiClick` breadcrumb
- Demo top-level `Sentry.setAttribute` / `setAttributes` (available in v8.17+)
- General cleanup

Already implemented / no longer needed:
- SDK upgrade (currently at 8.19.0)
- `beforeSendTransaction` counterpart to existing `beforeSend`
- `httpClientIntegration()` for non-2xx capture
- `mobileReplayIntegration()` with `networkDetailAllowUrls` and `networkCaptureBodies`

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with the React Native Empower Plant sample app and its App.tsx entry point, including the existing feedbackIntegration() and mobileReplayIntegration() setup. Trace the current profiling, app-start, ANR, replay, breadcrumb, and attribute demos before making the listed improvements. Done means each requested behavior is demonstrable and the obsolete custom feedback modal and other cleanup are removed.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react-native, typescript
Bereich
mobile
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.