Comments (7)
hey @moesaid
for now, cbw sdk assumes that configuration doesn't change after it's set. it defines which wallet host your app will connect to and the callback url your app will get responses.
we do provide a way to check whether the sdk is configured: https://github.com/coinbase/wallet-mobile-sdk/blob/4ff27b7b7559f8a46549b69573c8aa3493344565/ios/CoinbaseWalletSDK/CoinbaseWalletSDK.swift#L23
give the log you shared, it seems you are using flutter. and probably our dart library might not be exposing this variable yet. please take a look at the flutter example code.
btw, our team is working on multi-wallet support and it will ease the restriction a bit. we expect to release the new sdk end of this quarter.
from wallet-mobile-sdk.
@moesaid please try the new flutter lib v1.0.5.
it returns flutter exception instead of fatal error.
https://github.com/coinbase/wallet-mobile-sdk/pull/174/files
as i shared above, a long-term solution that we've been working on would be out soon.
from wallet-mobile-sdk.
This is expected behavior, you should only call the configure function once. If called multiple times, we throw an error on debug builds. Release builds should be unaffected.
from wallet-mobile-sdk.
@vishnumad thanks for letting me know. I am curious to understand the reasoning behind the chosen approach.
Is there a way to verify whether the configuration has been invoked or a connection has been established prior to attempting to establish a new one? I apologize for requesting your expertise as I am relatively new to the SDK and have only recently begun exploring its features.
from wallet-mobile-sdk.
@bangtoven Thank you for your prompt response. I appreciate it. I am eagerly anticipating the exposure of this flag and the future updates to the CBW SDK.
from wallet-mobile-sdk.
my pleasure! are you interested in trying out beta version of our sdk btw? it's not ready yet (#146), but we could share some early version once it's in good shape and get your feedback.
from wallet-mobile-sdk.
absolutely! i will take a spin latter today, hopefully play with it over the week!
from wallet-mobile-sdk.
Related Issues (20)
- com.coinbase.android.nativesdk.CoinbaseWalletSDKError$OpenWalletFailed: Could not open wallet HOT 4
- Bug: React Native sendTransaction something went wrong error HOT 17
- Bug: dapp crash when back from coinbase wallet app HOT 1
- Bug: Wallet.coinbaseRetail.isInstalled returns false HOT 4
- Bug: eth_watchAsset doesn't work HOT 3
- Bug: Flutter Android Dapp can not be authenticated HOT 1
- Bug: CoinbaseWalletSDK.configure should be called only once on Flutter iOS
- Bug: [ReactNative/Android] Calling `eth_requestAccounts` returns a `User rejected the request` error
- Bug: CoinbaseWalletSDK .launch(intent) ActivityNotFoundException {org.toshi/org.toshi.MainActivity} HOT 10
- Bug: Latest version on IOS can't be connected HOT 5
- Bug: Can't enumerate over MWPError as the struct is not public HOT 1
- How to get current active session connected to Coinbase Wallet without having to ask for approve ? HOT 1
- > I have a project using spring boot 3 and java 17, I'm trying to download the last version of coinbase wallet sdk:
- support macos HOT 1
- Bug: 'SymmetricKey' is only available in iOS 13.0 or newer HOT 1
- Bug: JavaScriptError - The operation couldn’t be completed. (CoinbaseWalletSDK.CoinbaseWalletSDK.Error error 0.) HOT 1
- Feature Request: Privacy updates for App Store submissions (iOS)
- How can I connect to a smart wallet using this SDK? HOT 1
- Wallet MishaDova HOT 1
- Bug: iOS SDK has not been released with fix for Issue #322
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wallet-mobile-sdk.