[英]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插件
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.