coinbase / coinbase/wallet-mobile-sdk

Feature Request: Support preferences options

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
20
Forks
20
PR merge metrics
No merged PRs in 30d

Description

### Is your feature request related to a problem? Please describe.

Since there is no preference setting, users may choose other types of wallets.

```dart=
final results = await CoinbaseWalletSDK.shared.initiateHandshake([const RequestAccounts()]);
```

### Describe the solution you'd like

Reference: [coinbase-wallet-sdk](https://github.com/coinbase/coinbase-wallet-sdk)

Coinbase-wallet-sdk can set wallet options in preferences during initialization, but only the Uri can be set in the Mobile version. I hope it can support the Preference function.

### Coinbase-wallet-sdk

Image

Image

### [wallet-mobile-sdk](https://github.com/coinbase/wallet-mobile-sdk)

```dart=
await CoinbaseWalletSDK.shared.configure(
Configuration(
ios: IOSConfiguration(
host: Uri.parse('https://wallet.coinbase.com/wsegue'),
callback: Uri.parse('tribesxyz://mycallback'),
),
android: AndroidConfiguration(
domain: Uri.parse('https://www.myappxyz.com'),
),
),
);
```

### Describe alternatives you've considered

none

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the configure entry point and the iOSConfiguration and AndroidConfiguration options shown in the issue, then compare them with the referenced coinbase-wallet-sdk preferences API. Done means mobile initialization accepts and applies wallet preference options in addition to the existing URI, callback, and domain settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.