Skip to content

Update CoinbaseWalletSDK/CrossPlatform version in flutter package#381

Open
quetool wants to merge 3 commits intoMobileWalletProtocol:2.0from
WalletConnect:2.0
Open

Update CoinbaseWalletSDK/CrossPlatform version in flutter package#381
quetool wants to merge 3 commits intoMobileWalletProtocol:2.0from
WalletConnect:2.0

Conversation

@quetool
Copy link
Copy Markdown

@quetool quetool commented Apr 3, 2025

Summary

The current used version 1.0.4 is breaking up development cycle. See here reown-com/reown_flutter#141

Steps to reproduce:

  • Create a new flutter project
  • Add coinbase_wallet_sdk: ^1.0.10 dependency
  • run flutter pub get
  • change ios/Podfile to define platform :ios, '13.0' on top of the file
  • run pod cache clean --all
  • run cd ios/ && pod install

Pod installation will fail with:

Mac:flutter_application_test alfreedom$ cd ios/ && pod install
Analyzing dependencies
Downloading dependencies
Installing CoinbaseWalletSDK (1.0.4)

[!] Error installing CoinbaseWalletSDK
[!] /usr/bin/git clone https://github.com/coinbase/wallet-mobile-sdk.git /var/folders/g5/dfchjsnn19gbc4c640zkj5v00000gn/T/d20250403-12241-dni7r2 --template= --single-branch --depth 1 --branch 1.0.4

Cloning into '/var/folders/g5/dfchjsnn19gbc4c640zkj5v00000gn/T/d20250403-12241-dni7r2'...
remote: Repository not found.
fatal: repository 'https://github.com/coinbase/wallet-mobile-sdk.git/' not found

Steps to fix:

  • Change coinbase_wallet_sdk: ^1.0.10 dependency with this PR url
coinbase_wallet_sdk:
  git:
    url: https://github.com/WalletConnect/wallet-mobile-sdk.git
    ref: "2.0"
    path: flutter
  • run pod cache clean --all
  • run cd ios/ && pod install

Pod installation will succeed:

Mac:flutter_application_test alfreedom$ cd ios/ && pod install
Analyzing dependencies
Downloading dependencies
Installing CoinbaseWalletSDK (1.1.0)
Installing Flutter (1.0.0)
Installing coinbase_wallet_sdk (0.0.1)
Generating Pods project
Integrating client project
Pod installation complete! There are 2 dependencies from the Podfile and 3 total pods installed.

[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `Runner` to `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` or include the `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` in your build configuration (`Flutter/Release.xcconfig`).

@quetool quetool requested a review from a team as a code owner April 3, 2025 13:23
@quetool quetool changed the title Update CoinbaseWalletSDK/CrossPlatform version Update CoinbaseWalletSDK/CrossPlatform version in flutter package Apr 7, 2025
@sara554-beep sara554-beep linked an issue Apr 8, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Billetera arcoiris

3 participants