React Native SDK
You can use all of the thirdweb
and thirdweb/react
exports in your React Native app, with some exceptions (see differences).
Get Started
Many of the components and hooks in the React Native SDK use a client
to interface with the core SDK and your private RPC endpoints. You'll need to create a clientId
in the Dashboard to generate this client.
Installation
Differences from React
Usage
TypeScript
Follow the TypeScript docs for functions and types
React
Follow the React docs for hooks, providers and components
Working demo
If you want to see a fully working demo of the thirdweb
package in a React Native app, you can check out the expo-starter repo.