getsentry / getsentry/sentry-react-native
Improve the Empower Plant demo
- Langage dominant
- TypeScript
- Étoiles
- 1.8k
- Forks
- 366
- Merge moyen
- 1 j 6 h
- PR mergées (30 j)
- 94
Description
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`
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par l’application d’exemple React Native Empower Plant et son point d’entrée App.tsx, y compris la configuration existante de feedbackIntegration() et mobileReplayIntegration(). Suivez les démos actuelles de profiling, de démarrage de l’application, d’ANR, de replay, de breadcrumbs et d’attributs avant d’apporter les améliorations listées. Le travail est terminé lorsque chaque comportement demandé peut être démontré et que la modale de feedback personnalisée obsolète ainsi que les autres éléments de nettoyage ont été supprimés.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- react-native, typescript
- Domaine
- mobile
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 55/100