Skip to content

Commit 83c4ba1

Browse files
Merge pull request WalletConnect#1682 from WalletConnect/chore/email-rn
chore: added cloud note for react native universal wallets
2 parents 6fd9102 + 6ae46e1 commit 83c4ba1

File tree

10 files changed

+51
-38
lines changed

10 files changed

+51
-38
lines changed

docs/appkit/react-native/core/installation.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -300,29 +300,29 @@ npx install-expo-modules@latest
300300

301301
2. Install Coinbase SDK
302302

303-
```bash npm2yarn
304-
npm install @coinbase/wallet-mobile-sdk react-native-mmkv
303+
```
304+
yarn add @coinbase/wallet-mobile-sdk react-native-mmkv
305305
```
306306

307307
3. Install our custom connector
308308

309309
<PlatformTabs groupId="eth-lib" activeOptions={["wagmi", "ethers", "ethers5"]}>
310310

311311
<PlatformTabItem value="wagmi">
312-
```bash npm2yarn
313-
npm install @web3modal/coinbase-wagmi-react-native
312+
```
313+
yarn add @web3modal/coinbase-wagmi-react-native
314314
```
315315
</PlatformTabItem>
316316

317317
<PlatformTabItem value="ethers">
318-
```bash npm2yarn
319-
npm install @web3modal/coinbase-ethers-react-native
318+
```
319+
yarn add @web3modal/coinbase-ethers-react-native
320320
```
321321
</PlatformTabItem>
322322

323323
<PlatformTabItem value="ethers5">
324-
```bash npm2yarn
325-
npm install @web3modal/coinbase-ethers-react-native
324+
```
325+
yarn add @web3modal/coinbase-ethers-react-native
326326
```
327327
</PlatformTabItem>
328328

docs/appkit/react-native/ethers/about/installation.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
```bash npm2yarn
2-
npm install @web3modal/ethers-react-native ethers
1+
```
2+
yarn add @web3modal/ethers-react-native ethers
33
```
44

55
Additionally add these extra packages to help with async storage, polyfills, and SVG's.
66

7-
```bash npm2yarn
8-
npm install @react-native-async-storage/async-storage react-native-get-random-values react-native-svg react-native-modal @react-native-community/netinfo @walletconnect/react-native-compat
7+
```
8+
yarn add @react-native-async-storage/async-storage react-native-get-random-values react-native-svg react-native-modal @react-native-community/netinfo @walletconnect/react-native-compat
99
```
1010

1111
On iOS, use CocoaPods to add the native modules to your project:

docs/appkit/react-native/ethers/email.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import TabItem from '@theme/TabItem'
33

44
### Install packages
55

6-
```bash npm2yarn
7-
npm install react-native-webview @web3modal/email-ethers-react-native
6+
```
7+
yarn add react-native-webview @web3modal/email-ethers-react-native
88
```
99

1010
On iOS, use CocoaPods to add the native modules to your project:

docs/appkit/react-native/ethers5/about/installation.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
```bash npm2yarn
2-
npm install @web3modal/ethers5-react-native [email protected]
1+
```
2+
yarn add @web3modal/ethers5-react-native [email protected]
33
```
44

55
Additionally add these extra packages to help with async storage, polyfills, and SVG's.
66

7-
```bash npm2yarn
8-
npm install @ethersproject/[email protected] @react-native-async-storage/async-storage react-native-get-random-values react-native-svg react-native-modal @react-native-community/netinfo @walletconnect/react-native-compat
7+
```
8+
yarn add @ethersproject/[email protected] @react-native-async-storage/async-storage react-native-get-random-values react-native-svg react-native-modal @react-native-community/netinfo @walletconnect/react-native-compat
99
```
1010

1111
On iOS, use CocoaPods to add the native modules to your project:

docs/appkit/react-native/onboarding/email.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,24 @@ Due to Safari’s strict third-party cookie policies, the SDK is not preserving
1818

1919
<PlatformTabs groupId="eth-lib" activeOptions={["wagmi", "ethers"]}>
2020

21+
2122
<PlatformTabItem value="wagmi">
23+
### Update your Cloud settings
24+
1. Go to your [Cloud](https://cloud.walletconnect.com) project
25+
2. Open Dashboard and scroll down to Mobile Application IDs menu
26+
3. Add your iOS Bundle ID and/or your Android Package Name
27+
* Changes might take some minutes to impact
28+
2229
<WagmiImplementation />
2330
</PlatformTabItem>
2431

2532
<PlatformTabItem value="ethers">
33+
### Update your Cloud settings
34+
1. Go to your [Cloud](https://cloud.walletconnect.com) project
35+
2. Open Dashboard and scroll down to Mobile Application IDs menu
36+
3. Add your iOS Bundle ID and/or your Android Package Name
37+
* Changes might take some minutes to impact
38+
2639
<EthersImplementation />
2740
</PlatformTabItem>
2841

docs/appkit/react-native/wagmi/about/installation.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
```bash npm2yarn
2-
npm install @web3modal/wagmi-react-native wagmi viem @tanstack/react-query
1+
```
2+
yarn add @web3modal/wagmi-react-native wagmi viem @tanstack/react-query
33
```
44

55
Additionally add these extra packages to help with async storage, polyfills, and SVG's.
66

7-
```bash npm2yarn
8-
npm install @react-native-async-storage/async-storage react-native-get-random-values react-native-svg react-native-modal @react-native-community/netinfo @walletconnect/react-native-compat
7+
```
8+
yarn add @react-native-async-storage/async-storage react-native-get-random-values react-native-svg react-native-modal @react-native-community/netinfo @walletconnect/react-native-compat
99
```
1010

1111
On iOS, use CocoaPods to add the native modules to your project:

docs/appkit/react-native/wagmi/email.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import TabItem from '@theme/TabItem'
33

44
### Install packages
55

6-
```bash npm2yarn
7-
npm install @web3modal/email-wagmi-react-native react-native-webview
6+
```
7+
yarn add @web3modal/email-wagmi-react-native react-native-webview
88
```
99

1010
On iOS, use CocoaPods to add the native modules to your project:

docs/walletkit/react-native/installation.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
Install WalletKit package.
44

5-
```bash npm2yarn
6-
npm install @walletconnect/web3wallet @walletconnect/react-native-compat
5+
```
6+
yarn add @walletconnect/web3wallet @walletconnect/react-native-compat
77
```
88

99
Additionally add these extra packages to help with async storage, polyfills and the instance of ethers.
1010

11-
```bash npm2yarn
12-
npm install @react-native-async-storage/async-storage @react-native-community/netinfo react-native-get-random-values fast-text-encoding
11+
```
12+
yarn add @react-native-async-storage/async-storage @react-native-community/netinfo react-native-get-random-values fast-text-encoding
1313
```
1414

1515
<details>
@@ -23,8 +23,8 @@ npx expo install expo-application
2323

2424
For those using Typescript, we recommend adding these dev dependencies:
2525

26-
```bash npm2yarn
27-
npm install --save-dev @walletconnect/jsonrpc-types
26+
```
27+
yarn add @walletconnect/jsonrpc-types --dev
2828
```
2929

3030
## Next Steps

docs/walletkit/react-native/notifications/notify/installation.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import TabItem from '@theme/TabItem'
55

66
Install the WalletConnect NotifyClient package.
77

8-
```bash npm2yarn
9-
npm install @walletconnect/notify-client @walletconnect/react-native-compat
8+
```
9+
yarn add @walletconnect/notify-client @walletconnect/react-native-compat
1010
```
1111

1212
You will need to polyfill crypto depending on your environment. See instructions below.
@@ -20,8 +20,8 @@ queryString="rn-method"
2020
>
2121
<TabItem value="expo">
2222

23-
```bash npm2yarn
24-
npm i expo-crypto
23+
```
24+
yarn add expo-crypto
2525
```
2626

2727
1. Create a file called `expo-crypto-shim.js` at the root of your project
@@ -59,8 +59,8 @@ import './expo-crypto-shim.js'
5959
</TabItem>
6060
<TabItem value="rn-cli">
6161

62-
```bash npm2yarn
63-
npm i react-native-quick-crypto react-native-quick-base64 stream-browserify @craftzdog/react-native-buffer babel-plugin-module-resolver
62+
```
63+
yarn add react-native-quick-crypto react-native-quick-base64 stream-browserify @craftzdog/react-native-buffer babel-plugin-module-resolver
6464
```
6565

6666
For iOS only

docs/walletkit/react-native/notifications/notify/usage.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ export default function SubscriptionDetailsScreen() {
274274
Install [`@react-native-firebase/app`](https://www.npmjs.com/package/@react-native-firebase/app), [`@react-native-firebase/messaging`](https://www.npmjs.com/package/@react-native-firebase/messaging) and [`@notifee/react-native`](https://www.npmjs.com/package/@notifee/react-native) to handle Push Notifications.
275275
Please refer to the respective package documentation to configure them properly.
276276
277-
```bash npm2yarn
278-
npm install @notifee/react-native @react-native-firebase/app @react-native-firebase/messaging
277+
```
278+
yarn add @notifee/react-native @react-native-firebase/app @react-native-firebase/messaging
279279
```
280280
281281
Update your `index.js` file to include the following logic.

0 commit comments

Comments
 (0)