Skip to content

Login popup is not popping up #374

@eramudeep

Description

@eramudeep

Using below code to login with apple Its working fine on simulator but not working on testFlight build, Even Login popup is not popping,
Its very hard to debug and trace the issue, Tried on real device with debug mode, Its working like a charm, But on testFlight build its driving me crazy :

import {appleAuth} from '@invertase/react-native-apple-authentication';

async function onAppleButtonPress() {
    const appleAuthRequestResponse = await appleAuth.performRequest({
      requestedOperation: appleAuth.Operation.LOGIN,
      requestedScopes: [appleAuth.Scope.EMAIL, appleAuth.Scope.FULL_NAME,appleAuth.Scope],
    });
    const {identityToken} = appleAuthRequestResponse || {};
    if (identityToken) { 
      loginAndSignUpByApple$(identityToken);
    } else {
      AlertHelper.show('error', 'Error', 'Unable to generate credentials');
    }
  }

Using below versions

"react": "19.0.0",
 "react-native": "0.78.3",
"@invertase/react-native-apple-authentication": "^2.4.1"

Environment :
node: v.22.17.1
Xcode: Version 16.1 (16B40)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions