繁体   English   中英

安装的带有电容的条形码扫描仪插件,pwa投诉cordova不可用

[英]installed barcode scanner plugin with capacitor, pwa complain cordova not available

我正在与pwa合作

离子框架:@ ionic / angular 4.0.0 @ angular-devkit / build-angular:0.12.4

@ angular-devkit / schematics:7.2.4

@ angular / cli:7.2.4

@ ionic / angular-toolkit:1.3.0

电容器:

电容器(CLI电容器):1.0.0-beta.17

@电容器/核心:1.0.0-beta.17

系统:

NodeJS:v10.0.0(/ usr / local / bin / node)npm:6.7.0操作系统:Linux 4.15 installed the barcode离子Cordova插件添加phonegap-plugin-barcodescanner npm install --save @ ionic-native / barcode-scannerionic cordova插件添加phonegap-plugin-barcodescanner npm install --save @ ionic`和

npx cap sync我在模块中安装了插件,但是当我尝试读取条形码时,我得到的只是一个错误`cordova不可用,所以我被卡住了

电容器尚不支持PWA上的Cordova插件

https://github.com/ionic-team/capacitor/issues/769

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM