同一个主体下两个小程序均申请微信OCR插件,其中一个小程序可以使用,另外一个小程序无法使用点击会白屏,在工具中调试会报错如下:
两个小程序都在设置-第三方设置-添加了微信OCR插件
。
开发工具中真机调试报错如下:
VM75:398 Error: not node js file system!path:__plugin__/wx4418e3e031e551be/common.app.js; go __invokeHandler__ accessSync worker? false
m @ VM75:398
a.WeixinJSCore.invokeHandler @ VM75:398
_methodInvokeHandler @ WAServiceMainContext.js:1
Ue._hookWeixinJSCore @ WAServiceMainContext.js:1
(anonymous) @ WAServiceMainContext.js:1
invoke @ WAServiceMainContext.js:1
invoke @ WAServiceMainContext.js:1
g @ WAServiceMainContext.js:1
(anonymous) @ WAServiceMainContext.js:1
D @ WAServiceMainContext.js:1
(anonymous) @ WAServiceMainContext.js:1
(anonymous) @ WAServiceMainContext.js:1
Kt.emit @ WAServiceMainContext.js:1
emit @ WAServiceMainContext.js:1
(anonymous) @ WAServiceMainContext.js:1
(anonymous) @ WAServiceMainContext.js:1
(anonymous) @ WAServiceMainContext.js:1
emit @ WAServiceMainContext.js:1
emit @ WAServiceMainContext.js:1
subscribeHandler @ WAServiceMainContext.js:1
Ue._subscribeHandler @ WAServiceMainContext.js:1
ret.subscribeHandler
WAServiceMainContext.js:1 [wxapplib]] backgroundfetch privacy fail {"errno":101,"errMsg":"private_getBackgroundFetchData:fail private_getBackgroundFetchData:fail:jsapi invalid request data"}
看看OCR版本是否一致