MetaMask / MetaMask/tkey-react-native-example

Android gets Bigint error

オープン
#15 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
1
フォーク
2
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、記載されている React Native 0.64.4 と TKey 依存関係のバージョンで Android の失敗を再現し、動作している iOS の挙動と比較します。BigInt に関連する初期化の早い段階でのエラーを追跡し、Android アプリが BigInt エラーや AppRegistry エラーなしで起動することを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, react-native
領域
mobile
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。