plus.barcode.scan(that.path, function(type,result) {
console.log("Scan success:("+type+")");
}, function(e){
console.log("Scan failed: "+JSON.stringify(e));
} );

- 发布:2023-03-08 13:38
- 更新:2023-03-08 13:38
- 阅读:146
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win11
HBuilderX类型: 正式
HBuilderX版本号: 3.7.3
手机系统: Android
手机系统版本号: Android 11
手机厂商: vivo
手机机型: iqoo
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
示例代码:
操作步骤:
在更新到hbuilderx最新版本后,使用语句plus.barcode.scan,报未打包barcode,前提:已勾选barcode模块,
"modules" : {
"Fingerprint" : {},
"LivePusher" : {},
"VideoPlayer" : {},
"Barcode" : {},
"Bluetooth" : {},
"Camera" : {},
"Record" : {}
}, 模块选择后,打自定义基座,不起作用,只能降低hbuilder版本至3.6.5,才能正常使用
在更新到hbuilderx最新版本后,使用语句plus.barcode.scan,报未打包barcode,前提:已勾选barcode模块,
"modules" : {
"Fingerprint" : {},
"LivePusher" : {},
"VideoPlayer" : {},
"Barcode" : {},
"Bluetooth" : {},
"Camera" : {},
"Record" : {}
}, 模块选择后,打自定义基座,不起作用,只能降低hbuilder版本至3.6.5,才能正常使用
预期结果:
更新到最新版本hbuilderx后正常打包原生模块
更新到最新版本hbuilderx后正常打包原生模块
实际结果:
报未打包barcode
报未打包barcode
bug描述:
在更新到hbuilderx最新版本后,使用语句plus.barcode.scan,报未打包barcode,前提:已勾选barcode模块,
"modules" : {
"Fingerprint" : {},
"LivePusher" : {},
"VideoPlayer" : {},
"Barcode" : {},
"Bluetooth" : {},
"Camera" : {},
"Record" : {}
}, 模块选择后,打自定义基座,不起作用,只能降低hbuilder版本至3.6.5,才能正常使用
0 个回复