调用认证接口时,没有弹出生物识别对话框或者界面
// 获取认证对象
let userAuthInstance = userIAM_userAuth.getUserAuthInstance(authParam, widgetParam);
console.log('get userAuth instance success');
// 订阅认证结果
userAuthInstance.on('result', {
onResult(result) {
console.log('userAuthInstance callback result = ' + JSON.stringify(result));
// 可在认证结束或其他业务需要场景,取消订阅认证结果
userAuthInstance.off('result');
}
}
06-04 11:33:40.829 16032-16032 A03D00/JSAPP com.weave...bilehm10 I get userAuth instance success
06-04 11:33:40.829 16032-16032 A03D00/JSAPP com.weave...bilehm10 I auth on success
06-04 11:33:40.838 16032-16032 A03D00/JSAPP com.weave...bilehm10 I auth start success
06-04 11:33:40.838 16032-16032 A03D00/JSAPP com.weave...bilehm10 I userAuthInstance callback result = {"result":12500010}
可以录入人脸指纹后重新调用接口。