MetaMask / MetaMask/tkey-react-native-example

Android gets Bigint error

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.