getsentry / getsentry/sentry-react-native

Improve the Empower Plant demo

Đang mở
#6,492 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Improvement React-Native
Ngôn ngữ chính
TypeScript
Star
1.8k
Fork
367
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
94

Mô tả

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`

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với ứng dụng mẫu React Native Empower Plant và điểm vào App.tsx của ứng dụng, bao gồm thiết lập hiện có của feedbackIntegration() và mobileReplayIntegration(). Theo dõi các bản demo profiling, khởi động ứng dụng, ANR, replay, breadcrumb và attribute hiện tại trước khi thực hiện các cải tiến được liệt kê. Công việc được hoàn tất khi mọi hành vi được yêu cầu đều có thể được minh họa và modal feedback tùy chỉnh đã lỗi thời cùng các phần dọn dẹp khác đã được xóa.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
react-native, typescript
Lĩnh vực
mobile
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.