wx.startSoterAuthentication安卓手机真机调试返回错误码-1

发布于 7 年前作者 qianghuang10555 次浏览最后编辑 7 年前来自 issues

https://developers.weixin.qq.com/miniprogram/dev/api/open-api/soter/wx.startSoterAuthentication.html

wx.startSoterAuthentication({

              requestAuthModes: ['fingerPrint'],

              challenge: JSON.stringify(uc),

              authContent: '指纹登录',

              success(res) {

                resolve(JSON.parse(res.resultJSON));//IOS调试结果

              },fail:rej=>{

                console.log(rej);//安卓调试结果

                reject(rej);

              }

            })

安卓手机真机调试报错,错误码为-1,其他错误信息均为空字符串。ios正常。

1 回复
xiuying16
xiuying161 楼5 年前

你好,请提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html