[微信小程序]wx.addPhoneContact在安卓上调取失败 [调取是要经过批准的吧。]


  • 提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。, 玩qq的都是年轻人。
    • oppor9 7.0.3 小米note5  7.0.3 wx.addPhoneContact({ photoFilePath: that.data.res.photo, firstName: that.data.name, mobilePhoneNumber: that.data.mobile, success: function(res) { console.log('1034',res) if (res.errMsg == 'addPhoneContact:ok') { var info = { user_id: that.data.user_id, card_id: that.data.card_id, readuser_id: that.data.readuser_id, readcard_id: that.data.readcard_id, porductid: null, productstaytime: time, status: 7, //保存名片 } util.Conduct_statistical(info) //util.js中 that.setData({ bccs: that.data.bccs * 1 + 1 }) } }, fail:function(res){ console.log('1052',res) } }) , 说的貌似很有深意,你能一条一条说么?
    • https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html,按照这个提供下, 玩qq的都是年轻人。
    • 找到问题了,是name没获取到谢谢了 , 问题嘛,看来要牺牲一些脑细胞来想了。