黑讯科技
黑讯科技
  • 发布:2023-09-07 22:09
  • 更新:2023-09-08 17:41
  • 阅读:193

apple登陆时 获取不到email字段,导致上架审核不通过,这个怎么解决?

分类:uni-app

最近一款应用上架时被拒绝,原因是对方说接口中已经提供了email字段,注册时需要自动填入email,不能手动填写,影响用户体验。可我测试appleid登陆时,返回数据中没有email字段,这个怎么解决呢?

2023-09-07 22:09 负责人:无 分享
已邀请:
黑讯科技

黑讯科技 (作者)

Guideline 4.0 - Design

Your app offers Sign in with Apple as a login option but does not follow the design and user experience requirements for Sign in with Apple. Specifically:

  • Your app requires users to provide their email address after using Sign in with Apple. This information is already provided by the Authentication Services framework.

These requirements provide the consistent experience users expect when using Sign In with Apple to authenticate or log in to an account.

Next Steps

Please revise the Sign in with Apple experience in your app to address the issues we identified above.

初樰

初樰 - 脑子里没有墨水,是写不出内容的

appleOauth.login( function(oauth){
// 授权成功
// appleOauth.authResult中保存通用认证数据
// appleOauth.appleInfo中保存苹果登录认证完整数据,参考appleInfo说明
}, function(err) {
// 登录授权失败
// err.code是错误码
}, {
// 默认只会请求用户名字信息,如需请求用户邮箱信息,需要设置 scope: 'email'
scope: 'email'
})

  • 黑讯科技 (作者)

    这是uniapp里面的接口吗?为什么我看到的是uni.login

    2023-09-07 22:51

  • 初樰

    回复 黑讯科技: 建议仔细查看文档

    2023-09-07 22:51

  • 黑讯科技 (作者)

    回复 初樰: 你说的这个是5+APP项目里面的,我现在用的是uniapp项目,加上scope: 'email' 也是获取不到

    2023-09-08 17:29

黑讯科技

黑讯科技 (作者)

已解决,只有第一次登陆的时候才会有

要回复问题请先登录注册