Install the Privy React Native SDK and its peer dependencies:
Install the necessary polyfills:
If your app uses the Expo bare workflow (“React Native without Expo”), also run:
Create an entrypoint.js
file and update your 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
: