我遵循了Google建议使用Apple登录的所有步骤,但仍然没有收到电子邮件和全名。我使用。我遵循的步骤如下。
如何获取Apple用户的全名和电子邮件?
AppleAuthentication.requestAsync({
scopes: [AppleAuthentication.Scope.FULL_NAME, AppleAuthentication.Scope.EMAIL],
}).then((response) => {
console.log(response)
},(error)=>{
console.log(error)
})
响应就是这样
{ authorizedScopes: [],
realUserStatus: 2,
authorizationCode: null,
fullName: null,
email: null,
identityToken: null,
state: null,
user: '001464.XXXXXXXXXXXXXXXXe3365461.1232'
}