升级到2.0版本后,拨号会自动挂断
以下是小程序端log
developer {"tag": "voip event error", "data": {"eventName": "callPageOnShow"}, "err": "<ReferenceError: wmpf is not defined>\nReferenceError: wmpf is not defined\n at https://usr/app-service.js:1924:18862\n at i.<anonymous> (https://usr/__plugin__/wxf830863afde621eb/appservice.js:1398:3153)\n at i.emit (https://usr/__plugin__/wxf830863afde621eb/appservice.js:1392:1759)\n at t.emitVoipEvent (https://usr/__plugin__/wxf830863afde621eb/appservice.js:1398:2981)\n at pi.onShow (https://usr/__plugin__/wxf830863afde621eb/appservice.js:1438:5326)\n at pi.<anonymous> (https://lib/WASubContext.js:1:467092)\n at s.__callPageLifeTime__ (https://lib/WASubContext.js:1:466885)\n at https://lib/WASubContext.js:1:478636\n at https://lib/WASubContext.js:1:441325\n at https://lib/WASubContext.js:1:479056"}
下图是app依赖包版本
看着是监听voip event的callback执行中,找不到wmpf对象出问题了,可以看看wmpf这个对象是不是被改写了