Skip to content

Commit

Permalink
Add Documentation for React Native
Browse files Browse the repository at this point in the history
Closes #7314
  • Loading branch information
danforbes committed Dec 9, 2024
1 parent 594f83a commit c1424a6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/docs/guides/18_resources_and_troubleshooting/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,24 @@ Additional Info:

[Facebook/React-native Issue #28492](https://github.com/facebook/react-native/issues/28492#issuecomment-824698934)

### TypeError: Cannot read property 'prototype' of undefined, js engine: hermes

This error occurs when trying to use Web3.js with React Native. To solve this error, use [the `react-native-quick-crypto` package](https://www.npmjs.com/package/react-native-quick-crypto).

**Resolution Steps:**

1. Install `react-native-quick-crypto` as a dependency:

```bash
yarn add react-native-quick-crypto
```

2. Set up `react-native-quick-crypto`:

```bash
cd ios && pod install
```

## Resources

### [Web3.js v4 course](https://www.youtube.com/watch?v=3ZO_t-Kyr1g&list=PLPn3rQCo3XrP4LbQcOyyHQR8McV7w3HZT)
Expand Down

0 comments on commit c1424a6

Please sign in to comment.