bitpay / wallet

Bitpay Wallet (formerly Copay) is a secure Bitcoin and other crypto currencies wallet platform for both desktop and mobile devices.
http://bitpay.com/wallet
MIT License
3.8k stars 1.74k forks source link

Copay Snap cannot access camera #10146

Open berkes opened 5 years ago

berkes commented 5 years ago

Copay needs the camera for sweeping private keys and scanning QR codes.

The snap distribution does not have a camera "plug" or "slot":

$ snap connect copay:camera :camera
error: snap "copay" has no plug named "camera"
$ Interface        Plug                   Slot              Notes
browser-support  copay:browser-support  :browser-support  -
desktop          copay:desktop          :desktop          -
desktop-legacy   copay:desktop-legacy   :desktop-legacy   -
gsettings        copay:gsettings        :gsettings        -
home             copay:home             :home             -
network          copay:network          :network          -
opengl           copay:opengl           :opengl           -
pulseaudio       copay:pulseaudio       :pulseaudio       -
unity7           copay:unity7           :unity7           -
x11              copay:x11              :x11              -

I'm not familiar with building snap packages, but I'd assume some interface needs to be defined in some metadata package.

gabrielbazan7 commented 5 years ago

As a workaround, you could copy to clipboard the private key and also the QR code. You should see something like this:

BitPay

Sorry about that. We will try to fix it.