Custom Build Configuration
Using Privy UIs requires a custom build configuration for your React Native application. This is necessary to ensure that the Privy SDK can properly interact with the native components and libraries it relies on. For detailed instructions, see the Custom Build Configuration guide.Install Peer Dependencies
First, install the necessary peer dependencies:Fonts
Install Font Packages
Install the following packages:Load Fonts
Load the necessary fonts in your app’s root layout (typically in
app/_layout.tsx
):PrivyElements Component
Privy’s default UIs in the React Native SDK are powered by thePrivyElements
modal component.
Only mount
PrivyElements
once in your app.