Files
liangyc 3fc2674ac7 fix: 修正插件名称大小写不一致问题
将插件名称从'redScanner'统一改为'redscanner',确保文档和配置文件中引用的一致性
2025-06-30 17:04:51 +08:00

455 B

PDA 红光扫码插件

青春塔项目PDA(AUTOID UTouch X3)设备监听红光扫码插件

使用DEMO:https://m.shuto.cn:8681/center/uhf-demo.git

安装插件

cordova plugin add git+https://m.shuto.cn:8681/center/cordova-plugin-redscanner.git

引入插件

declare const cordova: any;

方法

cordova.plugins.redScanner.scan((code: string) => {
    console.log(code);
}, (error: any) => {
    console.log(error);
});