navigator.hid not available, blocking ledger support. #2632
Closed
barthuijgen
started this conversation in
General
Replies: 2 comments 1 reply
-
Hi @barthuijgen snaps don't support WebHID at the moment |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @roo-shy Thanks for the answer, just some follow up questions.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It currently seems impossible to implement ledger support in a snap because
navigator
and thereforenavigator.hid
is not available.There is an example repository: https://github.com/MetaMask/ledger-hardware-wallet-snap
But this does not work. It seems to be about a year old, not sure if anything changed in the meantime that broke it.
The repository uses
"endowment:webhid": {}
but this permission does not exist.Reproduction steps: try using
navigator
in any snap'sonRpcRequest
method, and it should be undefined. At least it is for me.Beta Was this translation helpful? Give feedback.
All reactions