getsentry / getsentry/sentry-react-native

Improve the Empower Plant demo

Aperta
#6,492 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Improvement React-Native
Lingua principale
TypeScript
Stelle
1.8k
Fork
366
Merge medio
1g 5h
PR unite (30g)
93

Descrizione

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`

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react-native, typescript
Ambito
mobile
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
55/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.