Xcode version: 11.2.1
React Native version: 0.60.3
@invertase/react-native-apple-authentication version: 0.1.1
Here is an example of my code
async function onAppleButtonPress() {
// sign in request
const responseObject = await appleAuth.performRequest({
requestedOperation: AppleAuthRequestOperation.LOGIN,
requestedScopes: [AppleAuthRequestScope.EMAIL, AppleAuthRequestScope.FULL_NAME],
});
//authorization state request
const credentialState = await appleAuth.getCredentialStateForUser(responseObject.user);
if (credentialState === AppleAuthCredentialState.AUTHORIZED) {
//user is authorized
console.log(responseObject)
console.log(responseObject.fullName)
alert("authorized")
}
}
responseObject.fullName return null after successfully sign in with Apple ID.

This behaves correctly, user info is only sent in the ASAuthorizationAppleIDCredential upon initial user sign up. Subsequent logins to your app using Sign In with Apple with the same account do not share any user info and will only return a user identifier in the ASAuthorizationAppleIDCredential. It is recommened that you securely cache the initial ASAuthorizationAppleIDCredential containing the user info until you can validate that an account has succesfully been created on your server. - Source
what I think is amusing about this is that if they sent it every time, I would never persist that data. But since they only send an id I now have to persist the identifying info in non-Apple storage. I must admit I do not understand the security and privacy tradeoffs at play here
@bcbcbcbcbcl
Alright, but how can I get user name and email? I'm confused here.
Thanks for help!
@akhlopyk you really must consult the source documentation from apple.
The email will come through one time. The first time only. And it may be anonymized. That's just the way it is.
You may not get a single other thing other than a 'userid'.
That's just the way it works.
@mikehardy
Thanks for help! Will check that.
even its first time login the responseObject return null :(
Anyone have a solution for this
The solution is to read Readme.md. There you will find:
For testing purposes, to be receive these again, go to your device settings; Settings > Apple ID, iCloud, iTunes & App Store > Password & Security > Apps Using Your Apple ID, tap on your app and tap Stop Using Apple ID. You can now sign-in again and you'll receive the full name and `email
Most helpful comment
The solution is to read Readme.md. There you will find:
For testing purposes, to be receive these again, go to your device settings; Settings > Apple ID, iCloud, iTunes & App Store > Password & Security > Apps Using Your Apple ID, tap on your app and tap Stop Using Apple ID. You can now sign-in again and you'll receive the full name and `email