invertase/react-native-apple-authentication

[TypeError: undefined is not an object (evaluating '_reactNativeAppleAuthentication.appleAuthAndroid.ResponseType.ALL')]

RuzenDev opened this issue · 1 comments

Hey ,
Thank you very much for your wonderful library.

Target

Apple ID login in Android devices.

Problem

  appleAuthAndroid.configure({
      clientId: "from our app",
      redirectUri:
        "already setup",
      responseType: appleAuthAndroid.ResponseType.ALL,
      scope: appleAuthAndroid.Scope.ALL,
      nonce: rawNonce,
      state
      
 I get the error mentioned in the title with above setup. 

What I have done to understand

I tried to check if appleAuthAndroid is working fine by logging appleAuthAndroid.isSupported . It gave me undefined!
Looking at docs, it seems the device has to be of level > =19. My platform version is 33. But still I have the issue.


Can anyone please help me.?

Your help is highly appreciated.