I launched a Flutter app on iOS and it was published successfully with Apple Sign-In implemented. After 1 month I tried to publish a new version with updates(to be specific I added push notifications capability-more details below) and I got rejected because Apple Sign-In was buggy. It gives these errors.

[core] Authorization failed: Error Domain=AKAuthenticationError Code=-7034 "(null)"

flutter: The operation couldn’t be completed. (com.apple.AuthenticationServices.AuthorizationError error 1000.)

I searched for these errors and I tried every possible solution I was able to find.

  1. I reset the provisioning files.
  2. I tried on Debug and Release modes.
  3. I recreated the key from the Apple developer portal.
  4. I checked my capabilities and everything is there. Sign-In capability is added on all modes.

So, I believe I tried everything I found on the web but still couldn't resolve the issue. I tried to get more info about the error with debugging but I was only able to get what I showed above.

Important: The error started after I added Push Notifications on the app via Firebase Cloud Messaging. To be specific I added these capabilities in order to set up Push Notifications on my app;

  1. Push Notifications
  2. Background Modes (Background Fetch, Remote Notifications)

Important 2: When I tried to sign-in via the first version of my app downloaded from the App Store, it logs in but it only fetches the email address. It doesn't fetch the name and surname they come null. This functionally was working successfully like 2 weeks ago.

The package I used for implementing Apple-Sign In - https://pub.dev/packages/apple_sign_in

I'm actively trying to resolve this issue. So, I will reply as fast as possible. I'm looking for help! Thanks in advance...


Solution 1: Merricat

Important 2: When I tried to sign-in via the first version of my app downloaded from the App Store, it logs in but it only fetches the email address. It doesn't fetch the name and surname they come null. This functionally was working successfully like 2 weeks ago.

You only get full name and e-mail address when your app prompts the user to sign in with apple (i.e. on first authorization, and any time after that you want them to re-authenticate).

If your code is expecting a full name and e-mail every time, then that's probably your issue.

Are you using the backend at all, for instance, to verify the user's id_token or sending the authorization_code?

Note: I know nothing of Flutter, so my help can only extend to the Apple side of it ;)