Filter out duplicate EIP-6963 providers does not filter out Metamask Mobile #4404
Closed
1 task done
Labels
Good First Issue
Misc: Good First Issue
Check existing issues
Describe the bug
This is a follow-up issue to the functionality introduced in PR #4343 (thank you @tmm!).
Metamask Mobile uses the
io.metamask.mobile
rdns. This means that using wagmi via the metamask browser on mobile with multiInjectedProviderDiscovery and the metamask connector initialized will still result in duplicated Metamask connectors.Link to Minimal Reproducible Example
https://wagmi-tests-2.vercel.app/
Steps To Reproduce
io.metamask.mobile
rdns is not filtered.What Wagmi package(s) are you using?
wagmi
Wagmi Package(s) Version(s)
2.12.31
Viem Version
2.21.45
TypeScript Version
5.3.3
Anything else?
Can find the code for the reproducible example here: https://stackblitz.com/edit/new-wagmi-pddqi8
The text was updated successfully, but these errors were encountered: