lupidan / apple-signin-unity

Unity plugin to support Sign In With Apple Id
MIT License
598 stars 85 forks source link

VPN issues #113

Closed dalkia closed 3 years ago

dalkia commented 3 years ago

Hello!

So, I've implemented the plugin, tested it and confirmed it worked correctly. Nonetheless, when submitted to the app store, I was rejected with the following image:

Reject

After making some research and testing, I found out the the plugin doesnt work if the device is in a VPN. Aparently, the plugin cannot comunicate with the Apple server when inside the VPN.

Has anyone dealed with this issue? I m thinking if there is a workaround, or what should I answer to Apple before resubmitting.

Thanks!

lupidan commented 3 years ago

Aparently, the plugin cannot comunicate with the Apple server when inside the VPN.

The plugin is a wrapper around a native iOS functionality provided directly by Apple. It does not implement any custom connections to anything.

From what I can see in the image, the plugin is correctly creating the request for Name and E-mail, and presenting the native popup to communicate with Apple. Whatever happens within that native popup, is Apple's responsibility.

The plugin just receives a Success/Failed callback whenever Apple decides to close the popup and send either one. It seems they are not sending one when it fails to connect, possibly to allow for a retry.

Is this really an Apple rejection? Did you carefully read the message regarding the rejection? If the case still applies, I am sorry to say you have just encountered an Apple reviewer that was having a bad day, or doesn't really understand a functionality of their SDK. I wouldn't be surprised.

I would suggest a rejection appeal.

dalkia commented 3 years ago

Hello!

Okay, I ve sent the appeal. I ll let you know the result. Apparently this is something that happens with VPN and Apple Sign In. (https://discussions.apple.com/thread/250761596)

Thanks for the help!

dalkia commented 3 years ago

Yeap, appealing worked. My app has been approved in the Apple Store. Just in case anyone gets rejected due to the same reason, just appeal!

Thanks for your help @lupidan