bitpay / cordova-plugin-qrscanner

A fast, energy efficient, highly-configurable QR code scanner for Cordova apps and the browser.
MIT License
567 stars 773 forks source link

I can't use it in HarmonyOS or Huawei webview #363

Open liuyao552 opened 2 years ago

liuyao552 commented 2 years ago

I got a white screen with no camera preview,but the code scanning is normal.

display: none; Still not available;
ScolDev commented 2 years ago

What model device exactly have you? I have the same problem with Huaweri P40 / Android 10

ScolDev commented 2 years ago

I found that this bug is caused by the update in the webview to v11.1.2.332. The temporal solution is rollback this update to v10.x.x and works well.

fssgh commented 2 years ago

me too, how to debug the problem?

nxt-hj commented 2 years ago

Me too. I guess WebView is always white. Setting transparency has no effect. Does anyone have a solution

lengyuexuan commented 2 years ago

same problem. any solution?

goedzo commented 2 years ago

I have the same problem. Also in Broswser (Firefox) the screen stays white. In the console log I see the following error: "URL.createObjectURL(stream) is deprecated! Use elem.srcObject = stream instead!"

zhangjian0707 commented 2 years ago

I found that this bug is caused by the update in the webview to v11.1.2.332. The temporal solution is rollback this update to v10.x.x and works well.

Hello, I have encountered the same problem. I want to know how to reduce the WebView version?

zhangjian0707 commented 2 years ago

Has anyone solved it?

starrytky commented 2 years ago

Has anyone solved it?

FangHanZreo commented 1 year ago

Harmony OS 2.0.0.236 is fixed