Skip to content

Commit

Permalink
Merge pull request #954 from lens-protocol/release/2.3.0
Browse files Browse the repository at this point in the history
Release/2.3.0
  • Loading branch information
cesarenaldi authored Jun 13, 2024
2 parents 23d80b3 + 294eba3 commit 428aaa0
Show file tree
Hide file tree
Showing 80 changed files with 4,317 additions and 2,382 deletions.
12 changes: 9 additions & 3 deletions examples/lens-next-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next

## Getting Started

First, run the development server:
Start by renaming the `.env.example` file to `.env` and then populate it with the necessary values:

- `NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID` - This is the Project ID for WalletConnect. You can create a free Project ID at [WalletConnect Cloud](https://cloud.walletconnect.com/sign-in).

After setting up the environment variables, launch the development server:

```bash
npm run dev
Expand All @@ -14,6 +18,8 @@ pnpm dev
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
Once the server is running, open http://localhost:3000 in your browser to view the result.

You can begin editing the page by modifying `app/page.tsx`. The page will automatically update as you make changes to the file.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
Happy coding!
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

0 comments on commit 428aaa0

Please sign in to comment.