vincent1115
vincent1115
  • 发布:2023-11-15 15:12
  • 更新:2023-11-15 17:52
  • 阅读:227

ios17 苹果登录问题

分类:uni-app

OAuth 苹果登录

当设备系统是ios17时, 当请求uni.login时,弹出设置弹窗提示通过appid登录(如图1),

点击设置进入登录appid界面,此时,uni.login会返回如下登录失败信息,
{"errMsg":"login:fail Oauth_apple:Error Domain=com.apple.AuthenticationServices.AuthorizationError Code=1000 \"(null)\"","errCode":1000,"code":1000}
但是我们在ios16系统测试时, 此时不会返回回调信息。

当真正登录成功后,不会再回调成功或者失败的回调, 所以等于ios17苹果登录是无法使用的。

麻烦帮忙看下这个问题,苹果审核一直卡在这个问题上。谢谢

2023-11-15 15:12 负责人:无 分享
已邀请:
DCloud_iOS_XHY

DCloud_iOS_XHY

需要确认两个问题:

  1. 从截图看设备没有登录 Apple ID,触发登录时首先跳转到了登录 Apple ID的页面,登录Apple ID后返回应用再次在点一次登录是否能正常?
  2. 这个问题影响审核吗?苹果审核反馈的内容贴一下看看。
  • vincent1115 (作者)


    1. 手机端是正常的,目前只有手机设备测试, 不确定ipad是否有问题,

    2. 关于苹果的审核回复:

      Guideline 2.1 - Performance - App Completeness


    We discovered one or more bugs in your app. Specifically, no action occurred when we tried to Sign in with Apple. Please review the details below and complete the next steps.


    Review device details:


    Device type: iPad

    OS version: iOS 17.0.3

    Next Steps


    Please run your app on a device to reproduce the issues, then revise and submit your app for review. If at first you're unable to reproduce the issue, try the following:


    For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce.

    For app updates, install the new version as an update to the previous version, then follow the steps to reproduce.

    If we misunderstood the intended behavior of your app, please reply to this message in App Store Connect to provide information on how these features were intended to work.


    Resources


    For information about testing apps and preparing them for review, see Testing a Release Build.

    To learn about troubleshooting networking issues, see About Networking.

    Watch a video from App Store Review with tips for preventing common rejections.

    Please see attached screenshot for details. Request a phone call from App Review


    At your request, we can arrange for an Apple Representative to call you within the next three to five business days to discuss your App Review issue. Our representative will be able to discuss the issue in English or Chinese.


    Request a call to discuss your app's review

    2023-11-15 16:20

DCloud_iOS_XHY

DCloud_iOS_XHY

我用iPad 测试了登录功能是没问题的,他邮件说点击登录后没有反应,设备在没有登录 Apple id 的时候,会回调 error,是不是你们代码逻辑上在这个时机做了限制,用户登录完 Apple ID后回到应用中再次点击登录就可以正常获取信息了,这是正常的流程,检查一下整个逻辑吧,另外苹果邮件说可以通过电话沟通具体问题,你可以问问具体问题是什么?复现步骤是什么

  • vincent1115 (作者)

    回调 error的时候没有只是uni.showToast提示登录失败,没有其他的处理

    2023-11-15 18:06

要回复问题请先登录注册