getsentry / getsentry/sentry-react-native

Support Debug Ids with Re.Pack

Đang mở
#3,956 6 bình luận 1 reaction 0 người được giao Xem trên GitHub
Errors Feature 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ả

### Description

Im using sentry in my repack rect native application. The sentry is working fine in debug APK and Im also able to generate the debug APK. But when I try to generate the release APK. The build failed with the below issue.

> Task :app:createBundleReleaseJsAndAssets_SentryUpload_com.*********************** FAILED
Copy `debugId` from packager source map to Hermes source map...
Packager source map does not have `debugId`.
Check generated source map for Debug ID: /Users/******************/host/android/app/build/generated/sourcemaps/react/release/index.android.bundle.map does not contain 'debugId' nor 'debug_id'.

Im using PNPM to install sentry

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

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

Hướng nghiên cứu

Tái hiện bản build release Android bằng Re.Pack và PNPM, sau đó kiểm tra map được tạo tại android/app/build/generated/sourcemaps/react/release/index.android.bundle.map và đầu ra của tác vụ upload Sentry. Được xem là hoàn tất khi source map của packager cung cấp một Debug ID và bước upload Sentry của bản build release hoàn tất thành công.

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
Lĩnh vực
build-system, 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
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
38/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.