Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react native example: add wallet connect example #925

Merged
merged 3 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions examples/react-native/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
WALLET_CONNECT_PROJECT_ID=
ENVIRONMENT=production
# ENVIRONMENT=development
17 changes: 17 additions & 0 deletions examples/react-native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@ This is a new [**React Native**](https://reactnative.dev) project, bootstrapped

> **Note**: Make sure you have completed the [React Native - Environment Setup](https://reactnative.dev/docs/environment-setup) instructions till "Creating a new application" step, before proceeding.

## Step 0: Install the Native Dependencies

### For iOS

Install the native dependencies using CocoaPods:

```bash
# using npm
npm run pod:install

# OR using Yarn
yarn pod:install

# OR using pnpm
pnpm pod:install
```

## Step 1: Start the Metro Server

First, you will need to start **Metro**, the JavaScript _bundler_ that ships _with_ React Native.
Expand Down
11 changes: 11 additions & 0 deletions examples/react-native/ios/NativeLens/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@
<string>$(MARKETING_VERSION)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>nativelens</string>
</array>
<key>CFBundleURLName</key>
<string>com.yourcompany.nativelens</string>
</dict>
</array>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSRequiresIPhoneOS</key>
Expand Down
Loading
Loading