https://github.com/thirdweb-example/react-native-expo-starter
https://github.com/thirdweb-example/react-native-expo-starter
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thirdweb-example/react-native-expo-starter
- Owner: thirdweb-example
- License: apache-2.0
- Created: 2023-03-15T04:42:29.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T00:30:26.000Z (almost 2 years ago)
- Last Synced: 2024-04-12T07:12:29.024Z (almost 2 years ago)
- Language: Java
- Size: 1.99 MB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> [!Important]
> This repository is referencing the `mumbai` chain.
>
> `Mumbai` [is deprecated since 08/04/2024](https://blog.thirdweb.com/deprecation-of-mumbai-testnet/), meaning the code in this repository will no longer work out of the box.
>
> You can still use this repository, however you will have to switch any references to `mumbai` to another chain.
# React Native + Expo + thirdweb + TypeScript Starter Template
Got questions? Jump into our [Discord](https://discord.gg/thirdweb) to speak with us directly.
## Getting Started
Create a project using this example:
```bash
npx thirdweb create --template react-native-expo-starter
```
Install dependencies:
```bash
yarn install # or npm install
```
If you are developing on iOS, you will need to install the pods:
```bash
cd ios && pod install
```
## Get a clientId
You can [get your clientId](https://thirdweb.com/dashboard/settings/api-keys) from our Dashboard and set it in the `.env` file.
Please, make sure to add your app's `bundleId` in the Allowed Bundle IDs list. Here's more info on [how to get your app's bundleId](https://portal.thirdweb.com/api-keys#how-to-get-my-bundleid)
## Running the app
Android:
```
yarn android
```
iOS:
```
yarn ios
```
## Learn More
To learn more about thirdweb and React Native, take a look at the following resources:
- [thirdweb Portal](https://portal.thirdweb.com) - check our guides and development resources.
- [thirdweb SDK](https://portal.thirdweb.com/sdk) - check our guides and development resources.
- [React Native Documentation](https://reactnative.dev/) - learn about React Native features and API.
You can check out [the thirdweb GitHub organization](https://github.com/thirdweb-dev) - your feedback and contributions are welcome!
## Join our Discord!
For any questions, suggestions, join our discord at [https://discord.gg/thirdweb](https://discord.gg/thirdweb).