React native
Installation
Requirements
- A React Native project using the latest version
- iOS and Android platform support (Web is not supported)
Installation
Core Dependencies
Install the Privy React Native SDK and its peer dependencies:
Required Polyfills
Install the necessary polyfills:
For Expo bare workflow apps, also run:
Configure Polyfills
Create an entrypoint.js
file and update your package.json
:
entrypoint.js
package.json
If you’re using the @solana/web3.js
package, install the buffer dependency:
And add this code after importing react-native-get-random-values
:
Was this page helpful?