MetaMask / MetaMask/tkey-react-native-example

Android gets Bigint error

Đang mở
#15 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
1
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

When I use rKey on react native project. IOS works fine but Android gets Bigint error

```
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
ERROR ReferenceError: Can't find variable: BigInt
ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native

```

Info:
```
"@toruslabs/fetch-node-details": "=11.0.1",
"@tkey/default": "^10.1.0",
"@tkey/security-questions": "^10.1.0",
"@tkey/share-serialization": "^11.0.1",
"@tkey/share-transfer": "^11.0.1",
"@tkey/service-provider-base": "^10.1.0",
"@tkey/service-provider-torus": "^10.1.0",
"@tkey/storage-layer-torus": "^10.1.0",
"react": "17.0.2",
"react-native": "0.64.4",
```

How to fix it

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lỗi trên Android với các phiên bản React Native 0.64.4 và dependency TKey được liệt kê, đồng thời so sánh với hành vi đang hoạt động trên iOS. Truy vết lỗi khởi tạo sớm liên quan đến BigInt và xác minh rằng ứng dụng Android khởi chạy mà không có lỗi BigInt hoặc AppRegistry.

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

Đánh giá

Công nghệ
javascript, react-native
Lĩnh vực
mobile
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/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.