MobileWalletProtocol/wallet-mobile-sdk

Bug: error: `CoinbaseWalletSDK.configure` should be called only once on iOS

felipecamposfabel opened this issue · 2 comments

Describe the bug

After reloading the app using the React Native Developer Menu, the app freezes or crashes with the mentioned error.

Steps

  1. Run the app once on iOS
  2. Use the React Native developer menu and press Reload
  3. If you are using XCode, the app freezes here:

image

4. If not, the app crashes

Here's a repo, if you need, but just the basic usage should cause this.
https://github.com/felipecamposfabel/coinbase

Expected behavior

The SDK should handle this problem, or expose a variable for us to check if the SDK is already configured.

Version

No response

Additional info

No response

Desktop

No response

Smartphone

No response

Hey @felipecamposfabel, thanks for reporting this bug. We've just published a fix in version 1.0.6, please update and let us know if you have any more issues.

@brianchitester same is happening on Flutter IOS after hot restart app

PlatformException(configure, `CoinbaseWalletSDK.configure` should be called only once., null, null)