appkit icon indicating copy to clipboard operation
appkit copied to clipboard

[bug] Metamask not detected in Firefox browser

Open souvikmishra opened this issue 1 year ago • 8 comments

Link to minimal reproducible example

https://appkit-lab.reown.com/library/wagmi/

Summary

  • I am using firefox browser with metamask version 12.0.6.
  • Going on the official appkit lab I wanted to try and connect metamask but the default option I was show was the mobile version.
  • On switching to the browser tab inside the metamask option given in the reown wallet I was met with the message "Not Detected".
  • I tried connecting when metamask was locked and when it wasn't
  • Ideally when the wallet is unlocked it should open the extension and then proceed with the normal connect your wallet user flow, and if its locked then it should prompt the user to unlock it, and then proceed with the normal user flow.

List of related npm package versions

Not really sure, since I didn't spin up appkit on my local. I was playing with the demo. I'll just list the node version and package manager that I use while developing in the next 2 fields. XD

Node.js Version

v21.7.3

Package Manager

[email protected]

souvikmishra avatar Dec 10 '24 14:12 souvikmishra

@souvikmishra ACK - can repro also confirmed that MetaMask firefox supports EIP-6963 so should show up Screenshot 2024-12-11 at 4 03 38 PM

Screenshot 2024-12-11 at 4 03 51 PM

arein avatar Dec 11 '24 08:12 arein

Assigning @Sam-Newman for triage

arein avatar Dec 11 '24 08:12 arein

It seems the issue also applies to the rabby.io extension wallet - any updates? @arein

coderodigital avatar Dec 17 '24 17:12 coderodigital

It seems the issue also applies to the rabby.io extension wallet - any updates? @arein

No fix yet. But we are able to repro and are prioritizing this shortly

arein avatar Dec 17 '24 17:12 arein

Testing with:

  • MM Firefox 12.6.2
  • Firefox 130.0

I can confirm that the MM is listed in extension wallets and getting opened when selecting it:

https://github.com/user-attachments/assets/ffce5cbb-902b-4c26-a9b1-21e7f771f273

@coderodigital @souvikmishra are you still having the issue with the latest versions?

cc @arein

enesozturk avatar Dec 20 '24 08:12 enesozturk

@enesozturk Screenshot 2024-12-20 at 8 19 30 PM

I see it on demo.reown.com but not on https://appkit-lab.reown.com/library/wagmi/

arein avatar Dec 20 '24 12:12 arein

@souvikmishra this is a bug in MetaMask which doesn't surface in certain CSP settings. They've fixed the bug and say it should be released in the next month: https://github.com/MetaMask/metamask-extension/pull/27770

arein avatar Jan 06 '25 14:01 arein