Ionic framework ionic cordova条形码扫描仪-未打开摄像头进行扫描

Ionic framework ionic cordova条形码扫描仪-未打开摄像头进行扫描,ionic-framework,cordova-plugins,phonegap-plugins,barcode-scanner,Ionic Framework,Cordova Plugins,Phonegap Plugins,Barcode Scanner,我正在使用ionic-phonegap插件条形码扫描仪“^7.1.2”进行条形码扫描,但当我单击扫描按钮时,android emulator上的摄像头如下所示。 这是我的密码: 扫描(){ } index.html具有以下特性:。。 任何人都可以帮助解决代码的问题。尝试使用此插件 <plugin spec="https://github.com/Telerik-Verified-Plugins/BarcodeScanner.git" source="git" /> <

我正在使用ionic-phonegap插件条形码扫描仪“^7.1.2”进行条形码扫描,但当我单击扫描按钮时,android emulator上的摄像头如下所示。

这是我的密码: 扫描(){

}

index.html具有以下特性:。。

任何人都可以帮助解决代码的问题。

尝试使用此插件

<plugin spec="https://github.com/Telerik-Verified-Plugins/BarcodeScanner.git" source="git" />

<plugin spec="https://github.com/Telerik-Verified-Plugins/BarcodeScanner.git" source="git" />