Android gets Bigint error
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, react-native
- Domain
- mobile
Research direction
Start by reproducing the Android failure with the listed React Native 0.64.4 and TKey dependency versions, comparing it with the working iOS behavior. Trace the early initialization error associated with BigInt and verify that the Android app launches without the BigInt or AppRegistry errors.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MetaMask/tkey-react-native-example
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in MetaMask/tkey-react-native-example
Similar issues
-
bot:ai-assisted component:compact-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
midnightntwrk/midnight-sdk#403 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
DavidAnson/markdownlint-cli2#940 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficulty 2/5 1-3 hours Newbie friendliness 90/100