Skip to content

Safari iOS address is invalid #252

@ryancrunchi

Description

@ryancrunchi

I'm using "wagmi": "^3.6.0" and "@metamask/connect-evm": "^0.9.0".

createConfig({
  chains: [baseSepolia],
  ssr: true,
  multiInjectedProviderDiscovery: false,
  transports: {
    [baseSepolia.id]: http(),
  },
  connectors: [
    metaMask({
      dapp: {
        name: 'xxx',
        url: 'xxx',
        iconUrl: `xxx`,
      },
    }),
  ],
  storage: createStorage({
    storage: cookieStorage,
  }),
})

When calling signMessage, sendCalls or writeContract from wagmi's hooks, I'm sometimes getting safari popup "Safari cannot open the page because the address is invalid".

Image

In chrome for iOS it's working 100% of the time.
In chrome desktop it's working 100% of the time, but it's using metamask browser extension instead of iOS native app obviously.

Maybe related: MetaMask/metamask-sdk#1042

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions