cordova-plugin-sign-in-with-apple icon indicating copy to clipboard operation
cordova-plugin-sign-in-with-apple copied to clipboard

Infinite Loading with Ios Emulator

Open AsoStrife opened this issue 4 years ago • 3 comments

Hi, I don't have a physical ios device so I always use emulator with xcode to debug my code.
I've turn on "SignIn With Apple" inside capabilities in Xcode and I write the demo code in my app:

window.cordova.plugins.SignInWithApple.signin(
  { requestedScopes: [0, 1] },
  function(succ){
    console.log(succ)
    alert(JSON.stringify(succ))
  },
  function(err){
    console.error(err)
    console.log(JSON.stringify(err))
  }
)

If I tried to login with Apple Account the first two steps works good, but the third one after I insert the password remain in infinite loop loading. I don't find anything in the documentation. What could be the problem? 1 2 3

AsoStrife avatar Jul 15 '21 08:07 AsoStrife

known issue for a very long time on the apple forums sadly. :(

https://developer.apple.com/forums/thread/651533 https://developer.apple.com/forums/thread/90718

You can try the suggestions they have there, but some of the options they mentioned aren't viable for me so I can't attest to success rate.

ensemblebd avatar Jul 15 '21 22:07 ensemblebd

Ok so this is only a problem for simulator?

AsoStrife avatar Jul 16 '21 08:07 AsoStrife

Definitely, does not work for me either on simulator. But on the device, 100% good and functional. just have to plug in your ios phone and test on that, or use TestFlight.

ensemblebd avatar Jul 16 '21 14:07 ensemblebd