Skip to content

feat(android): add getInstalledWallets and packageName targeting to local association#1437

Open
MattMsh wants to merge 1 commit intosolana-mobile:mainfrom
MattMsh:feat/installed-wallets-and-package-targeting
Open

feat(android): add getInstalledWallets and packageName targeting to local association#1437
MattMsh wants to merge 1 commit intosolana-mobile:mainfrom
MattMsh:feat/installed-wallets-and-package-targeting

Conversation

@MattMsh
Copy link
Copy Markdown

@MattMsh MattMsh commented Mar 23, 2026

Summary

Users who tap "Always open with" on the Android wallet chooser get permanently routed to one
wallet with no escape from within the dApp. This PR adds two APIs to address that:

  • getInstalledWallets() — queries PackageManager for all apps handling
    solana-wallet://, returning packageName + appName per wallet
  • packageName in startSession config — calls intent.setPackage() before
    startActivityForResult, bypassing Android intent resolution and any stored "always open with"
    default

This PR implements #1436

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.

1 participant