- 当前 Bug 的表现(可附上截图)
真机返回的信息:
"type":"getphonenumber","timeStamp":59072,"target":{"id":"","offsetLeft":0,"offsetTop":11,"dataset":{}},"currentTarget":{"id":"","offsetLeft":0,"offsetTop":11,"dataset":{}},"mark":{},"detail":{"errMsg":"getPhoneNumber:ok","encryptedData":"5l2n8ghPzn3OjXrBfYI7ogthSztnUFPjKkw3Icg2AmGTNXLyChgJ/TcvyENsix2yIet+hmNpS1CwVB2wLnr7zdGEkivN4ScTIS7TUr6eWaHnvissBTL95QJSR08Rw+kftgLQ3ECORzQY6DhhXzyTD2XxMBLX+33t4uew+Yt9qk6Zctl6+pZEA39YLfhYdoHtKAjYSaQ8K4xgbr5yzRP9Iw==","iv":"IYKhoigyaAiGZaW5Fy9a1w=="}}
- 预期表现
模拟器返回的信息:
{"type":"getphonenumber","timeStamp":4475,"target":{"id":"","offsetLeft":0,"offsetTop":13,"dataset":{}},"currentTarget":{"id":"","offsetLeft":0,"offsetTop":13,"dataset":{}},"detail":{"errMsg":"getPhoneNumber:ok","encryptedData":"lZhOwlCig8YoNFwbeeYBREVkbNOmkLsSwu3TproYIHxy3xvgXNcKypaWubVjcCq1h2apVb0NlRUPaKQb3uudW+/q2sjMJ0iNZKapmZ8xTeBznrJM1GJS/A5tZ61FLlf2uUWrzEEn3DdCyu9D8rD01O3Kj3R7zU45vyTvn7wkIvxo5kgy4nENal7e+RcfWXlmwDiBQD/SGB0gb7x6K7FY4w==","iv":"FvAOhjuZiZJBEbzrIABsjg==","cloudID":"22_cnd43_OHPYmTPdCXYmhlbXU3S55VygeJpjB6IFWybrKrCZTFVlr-zTts3VI"}}
- 复现路径
- 提供一个最简复现 Demo
这个是基础库2.8.0才有的:https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/getPhoneNumber.html
我看到这个2.8了,但同时也在某些地方看到2.7了。。。并且,我自己的手机为啥可以?模拟器也可以。。。
另外,2.8计划什么时候发布?
某些地方看到2.7?哪里看到的?给个链接看看呢
https://developers.weixin.qq.com/community/develop/doc/0008a2e3c34af8201f98e40d451001?highLine=cloudid
倒数第二行
这个是具体的接口哈,以这个接口说明为准