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".
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
I'm using "wagmi": "^3.6.0" and "@metamask/connect-evm": "^0.9.0".
When calling
signMessage,sendCallsorwriteContractfrom wagmi's hooks, I'm sometimes getting safari popup "Safari cannot open the page because the address is invalid".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