Skip to content

[react-native] added note in coinbase integration #332

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
21 changes: 8 additions & 13 deletions docs/appkit/react-native/core/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -294,13 +294,16 @@ module.exports = createRunOncePlugin(

## Enable Coinbase Wallet

<Tabs groupId="platform">
<TabItem value="rn-cli" label="React Native CLI">
> ⚠️ **Important Compatibility Notice**
>
> The Coinbase SDK currently has the following limitations:
> - Does not support React Native's New Architecture
> - Does not support Expo Go
>
> If you're using the New Architecture, you'll need to disable it for Coinbase SDK compatibility. For Expo users, a custom development build is required.

Follow these steps to install Coinbase SDK in your project along with our Coinbase package. Check <a href="https://mobilewalletprotocol.github.io/wallet-mobile-sdk/docs/client-sdk/rn-install">here</a> for more detailed information.

- Note: Coinbase SDK is [not compatible with Expo Go](https://github.com/MobileWalletProtocol/wallet-mobile-sdk/issues/206)

1. Enable Expo Modules in your project running:

```
Expand All @@ -310,7 +313,7 @@ npx install-expo-modules@latest
2. Install Coinbase SDK

```
yarn add @coinbase/wallet-mobile-sdk react-native-mmkv
yarn add @coinbase/wallet-mobile-sdk react-native-mmkv@^2.0.0
```

3. Install our custom connector
Expand Down Expand Up @@ -402,14 +405,6 @@ useEffect(() => {

Check <a href="https://mobilewalletprotocol.github.io/wallet-mobile-sdk/docs/client-sdk/rn-install">Coinbase docs</a> for more detailed information.

</TabItem>

<TabItem value="expo" label="Expo">
Coinbase SDK doesn't support Expo Projects. More info <a href="https://github.com/MobileWalletProtocol/wallet-mobile-sdk/issues/206#issuecomment-1468836345">here</a>
</TabItem>

</Tabs>

## Examples

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