React-native-apple-authentication: Sign in with Apple stucks after inputting password

Created on 31 Oct 2020  路  7Comments  路  Source: invertase/react-native-apple-authentication

Hi everyone,
We were able to use Apple sign in before the release of iOS 14.
But after the release of Xcode 12 and iOS 14, the function no longer works on devices with iOS 14.x on both simulators and real devices.
It just stops after inputting password and the spinning wheel runs infinitely and does not come back to our application, so the function performRequest has not been passed and we have not found out what's wrong.

            appleAuth.performRequest({
                requestedOperation: appleAuth.Operation.LOGIN,
                requestedScopes: [appleAuth.Scope.EMAIL, appleAuth.Scope.FULL_NAME],
            });

We had checked again with simulator with ios 13.x and it still works.

Have anyone come up with the issue, please help?

Regards.

question

Most helpful comment

@mathieupetrini ok, but that's just a continuation of the "sign in with apple doesn't work if simulator is > 13" issue, not the perhaps new "Xcode 12.x breaks sign in with apple on real devices". Your issue is well-documented here and has unfortunately existed since iOS14 release

All 7 comments

Hi there! I think you need to be more specific, by which I mean Xcode 12 came out in form of 12, 12.0.1 and 12.1. It was widely documented here that simulator did not work on iOS 14 and it did not matter about Xcode. Real devices worked with 11.x and 12 12.0.1. I just updated to 12.1 and haven't tested a real device yet.

Also iOS 14 itself has more than one version, with the simulator now up to 14.1 and I forget the real device OS. 14.0.1 at least.

I haven't seen failures on device yet though, so please be specific about which exact pairings you've seen work and then with which pairings it fails if you can, that would help advance this - but so far no, no one else has reported this

I have the same issue on simulator iOS 14.1 and XCode 12.1

image

@mathieupetrini ok, but that's just a continuation of the "sign in with apple doesn't work if simulator is > 13" issue, not the perhaps new "Xcode 12.x breaks sign in with apple on real devices". Your issue is well-documented here and has unfortunately existed since iOS14 release

On real device it is working well.

Sorry for the inconvenience

@mathieupetrini out of curiosity, what version of Xcode exactly, and iOS exactly are you using to build / run on real device? Might help advance this issue :-)

XCode : 12.1
iOS Version : 14.0.1

Excellent - those are current versions, so I'm going to say we can't reproduce this @vanminhnguyenbmt and close it - seems to work in my project and for @mathieupetrini so I suspect something not correct with your project somehow?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aqib1604 picture aqib1604  路  6Comments

nonewcode picture nonewcode  路  10Comments

dburdan picture dburdan  路  6Comments

mohitbhansali picture mohitbhansali  路  11Comments

pantelispanayiotou picture pantelispanayiotou  路  8Comments