问题模块 | 框架类型 | 问题类型 | API/组件名称 | 终端类型 | 微信版本 | 基础库版本 |
---|---|---|---|---|---|---|
API和组件 | 小程序 | Bug | wx.startSoterAuthentication | 客户端 | 6.7.3 | 2.4.2 |
- 当前 Bug 的表现(可附上截图)
调用生物认证接口:
wx.startSoterAuthentication({ requestAuthModes: [ 'fingerPrint' ], challenge: '123456' , authContent: '请用指纹解锁' , success(res) { console.log( '指纹成功' , res); }, fail(res){ console.log( '指纹失败' , res); } }) |
但是,总是返回90007错误(在官方的小程序《小程序示例》中调用生物认证也是提示认证失败)
{ authMode: "fingerPrint" , resultJSON: "" , resultJSONSignature: "" , errCode: 90007, errMsg: "startSoterAuthentication:fail auth key update error" } |
附上另外2个接口的返回值情况:
wx.checkIsSupportSoterAuthentication({ success(res) { console.log(res) } }); |
wx.checkIsSoterEnrolledInDevice({ checkAuthMode: 'fingerPrint' , success(res) { console.log(res) } }) |
- 预期表现
调用成功,出现指纹输入界面
- 复现路径
- 提供一个最简复现 Demo
查阅微信其他平台的开发文档,对错误说明如下:
不知道有没有也碰到这种情况的,该怎么解决?
网友回复
那个乱世之外的小白:
其他的手机可以吗?
半瞎?:
你的微信支持指纹付款吗,要是不支持,那小程序你也用不了指纹