invertase / invertase/react-native-apple-authentication
Login popup is not popping up
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 236
- PR merge metrics
- No merged PRs in 30d
Description
**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)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.