An open API service indexing awesome lists of open source software.

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

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).