Installation
React Native
Introduction
AppKit has support for Wagmi and Ethers. Choose one of these Ethereum libraries to get started.
Installation
Additionally add these extra packages to help with async storage, polyfills, and SVG’s.
On iOS, use CocoaPods to add the native modules to your project:
Additionally add these extra packages to help with async storage, polyfills, and SVG’s.
On iOS, use CocoaPods to add the native modules to your project:
Additionally add these extra packages to help with async storage, polyfills, and SVG’s.
On iOS, use CocoaPods to add the native modules to your project:
Additionally add these extra packages to help with async storage, polyfills, and SVG’s.
On iOS, use CocoaPods to add the native modules to your project:
Additionally add these extra packages to help with async storage, polyfills, and SVG’s.
On iOS, use CocoaPods to add the native modules to your project:
Additionally add these extra packages to help with async storage, polyfills, and SVG’s.
On iOS, use CocoaPods to add the native modules to your project:
Additionally add these extra packages to help with async storage, polyfills, and SVG’s.
On iOS, use CocoaPods to add the native modules to your project:
Additionally add these extra packages to help with async storage, polyfills, and SVG’s.
On iOS, use CocoaPods to add the native modules to your project:
Additionally add these extra packages to help with async storage, polyfills, and SVG’s.
Additionally add these extra packages to help with async storage, polyfills, and SVG’s.
Additionally add these extra packages to help with async storage, polyfills, and SVG’s.
Additionally add these extra packages to help with async storage, polyfills, and SVG’s.
Implementation
Start by importing createAppKit
, and wagmi packages, then create your configs as shown below.
Finally, pass your configuration to createAppKit
.
Make sure you import @walletconnect/react-native-compat
before wagmi
to avoid any issues.
Trigger the modal
To open AppKit modal you can use our default button component or build your own logic using our hooks.
Start by importing createAppKit
, and wagmi packages, then create your configs as shown below.
Finally, pass your configuration to createAppKit
.
Make sure you import @walletconnect/react-native-compat
before wagmi
to avoid any issues.
Trigger the modal
To open AppKit modal you can use our default button component or build your own logic using our hooks.
Start by importing createAppKit
and create your configs as shown below.
Finally, pass your configuration to createAppKit
.
Make sure you import @walletconnect/react-native-compat
before using our package to avoid any issues.
Trigger the modal
To open AppKit modal you can use our default button component or build your own logic using our hooks.
Start by importing createAppKit
and create your configs as shown below.
Finally, pass your configuration to createAppKit
.
Make sure you import @walletconnect/react-native-compat
and @ethersproject/shims
before using our package to avoid any issues.
Trigger the modal
To open AppKit modal you can use our default button component or build your own logic using our hooks.
Getting Support 🙋
Reown is committed to delivering the best developer experience.
If you have any questions, feature requests, or bug reports, feel free to open an issue on GitHub!
Enable Wallet Detection
Make sure your have @walletconnect/react-native-compat@2.10.5
or higher.
To enable AppKit to detect wallets installed on the device, you need to make specific changes to the native code of your project.
- Open your
Info.plist
file. - Locate the
<key>LSApplicationQueriesSchemes</key>
section. - Add the desired wallet schemes as string entries within the
<array>
. These schemes represent the wallets you want to detect. - Refer to our Info.plist example file for a detailed illustration.
Example:
- Open your
Info.plist
file. - Locate the
<key>LSApplicationQueriesSchemes</key>
section. - Add the desired wallet schemes as string entries within the
<array>
. These schemes represent the wallets you want to detect. - Refer to our Info.plist example file for a detailed illustration.
Example:
- Open your
AndroidManifest.xml
file. - Locate the
<queries>
section. - Add the desired wallet package names as
<package>
entries within the<queries>
. These package names correspond to the wallets you want to detect. - Refer to our AndroidManifest.xml example file for detailed guidance.
Example:
- Open your
Info.plist
file. - Locate the
<key>LSApplicationQueriesSchemes</key>
section. - Add the desired wallet schemes as string entries within the
<array>
. These schemes represent the wallets you want to detect. - Refer to our Info.plist example file for a detailed illustration.
Example:
- Open your
Info.plist
file. - Locate the
<key>LSApplicationQueriesSchemes</key>
section. - Add the desired wallet schemes as string entries within the
<array>
. These schemes represent the wallets you want to detect. - Refer to our Info.plist example file for a detailed illustration.
Example:
- Open your
AndroidManifest.xml
file. - Locate the
<queries>
section. - Add the desired wallet package names as
<package>
entries within the<queries>
. These package names correspond to the wallets you want to detect. - Refer to our AndroidManifest.xml example file for detailed guidance.
Example:
To enable AppKit to detect wallets installed on the device in your Expo project for iOS, follow these steps:
- Open your
app.json
(orapp.config.js
) file. - Locate the ios section within the configuration.
- Add the
infoPlist
object if it doesn’t exist, and within it, include theLSApplicationQueriesSchemes
array. This array will contain the desired wallet schemes you want to detect. - Add the wallet schemes to the
LSApplicationQueriesSchemes
array.
Your configuration should look like this:
To enable AppKit to detect wallets installed on the device in your Expo project for iOS, follow these steps:
- Open your
app.json
(orapp.config.js
) file. - Locate the ios section within the configuration.
- Add the
infoPlist
object if it doesn’t exist, and within it, include theLSApplicationQueriesSchemes
array. This array will contain the desired wallet schemes you want to detect. - Add the wallet schemes to the
LSApplicationQueriesSchemes
array.
Your configuration should look like this:
To enable AppKit to detect wallets installed on the device in your Expo project for Android, follow these steps:
- Open your
app.json
(orapp.config.js
) file. - Locate the plugins section within the configuration.
- Add
queries.js
in the plugins array:
- Create the file
queries.js
:
- Add the wallet package names you want to be detected by your app.
Enable Coinbase Wallet
Follow these steps to install Coinbase SDK in your project along with our Coinbase package. Check here for more detailed information.
- Note: Coinbase SDK is not compatible with Expo Go
- Enable Expo Modules in your project running:
- Install Coinbase SDK
- Install our custom connector
yarn add @reown/appkit-coinbase-wagmi-react-native
yarn add @reown/appkit-coinbase-wagmi-react-native
yarn add @reown/appkit-coinbase-ethers-react-native
yarn add @reown/appkit-coinbase-ethers-react-native
- Run pod-install
-
Enable Deeplink handling in your project following React Native docs
-
Add Coinbase package in your AndroidManifest.xml and Info.Plist
- Add Coinbase response handler in your app. More info here
- Initialize
coinbaseConnector
and add it inextraConnectors
- Prefer universal links over custom schemes to avoid an app verification warning on Coinbase Wallet
- Initialize
coinbaseConnector
and add it inextraConnectors
- Prefer universal links over custom schemes to avoid an app verification warning on Coinbase Wallet
- Initialize
CoinbaseProvider
and add it in the default config
- Prefer universal links over custom schemes to avoid an app verification warning on Coinbase Wallet
- Initialize
CoinbaseProvider
and add it in the default config
- Prefer universal links over custom schemes to avoid an app verification warning on Coinbase Wallet
Check Coinbase docs for more detailed information.
Follow these steps to install Coinbase SDK in your project along with our Coinbase package. Check here for more detailed information.
- Note: Coinbase SDK is not compatible with Expo Go
- Enable Expo Modules in your project running:
- Install Coinbase SDK
- Install our custom connector
yarn add @reown/appkit-coinbase-wagmi-react-native
yarn add @reown/appkit-coinbase-wagmi-react-native
yarn add @reown/appkit-coinbase-ethers-react-native
yarn add @reown/appkit-coinbase-ethers-react-native
- Run pod-install
-
Enable Deeplink handling in your project following React Native docs
-
Add Coinbase package in your AndroidManifest.xml and Info.Plist
- Add Coinbase response handler in your app. More info here
- Initialize
coinbaseConnector
and add it inextraConnectors
- Prefer universal links over custom schemes to avoid an app verification warning on Coinbase Wallet
- Initialize
coinbaseConnector
and add it inextraConnectors
- Prefer universal links over custom schemes to avoid an app verification warning on Coinbase Wallet
- Initialize
CoinbaseProvider
and add it in the default config
- Prefer universal links over custom schemes to avoid an app verification warning on Coinbase Wallet
- Initialize
CoinbaseProvider
and add it in the default config
- Prefer universal links over custom schemes to avoid an app verification warning on Coinbase Wallet
Check Coinbase docs for more detailed information.
Coinbase SDK doesn’t support Expo Projects. More info
here
Examples
Test Apps
Want to see AppKit in action? Download our sample AppKit apps below and explore what it can do. Enjoy! 😊
Tutorial
Was this page helpful?