Skip to content

Update CoinbaseWalletSDK/CrossPlatform version in flutter package#380

Open
quetool wants to merge 6 commits into
MobileWalletProtocol:mainfrom
WalletConnect:main
Open

Update CoinbaseWalletSDK/CrossPlatform version in flutter package#380
quetool wants to merge 6 commits into
MobileWalletProtocol:mainfrom
WalletConnect:main

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`).

@cb-jake
Copy link
Copy Markdown

cb-jake commented Apr 3, 2025

@quetool thank you for the PR. Could you please update the PR description with how you tested/verified the fix? Thank you.

@quetool
Copy link
Copy Markdown
Author

quetool commented Apr 3, 2025

@quetool thank you for the PR. Could you please update the PR description with how you tested/verified the fix? Thank you.

Done. However I believe you are using branch 2.0 to deploy flutter packages so here's the PR to that #381

@sara554-beep sara554-beep linked an issue Apr 8, 2025 that may be closed by this pull request
@kellykornflakes
Copy link
Copy Markdown

kellykornflakes commented May 18, 2025 via email

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

5 participants