Problems witth APP Review

Hello everyone!

I'm trying to put an APP for distribution, but it's not being accepted because of a problem with the Sign In With Apple Button. I've tested it in several simulators and on a real iPhone device. I've already showed them the videos of it working, but they keep saying that on their side nothing happens when they click on the button.

This is the code i'm using in the Flutter APP:

static Future<UserCredential?> appleLogin() async {
    try {
      final appleProvider = AppleAuthProvider();

      return await FirebaseAuth.instance.signInWithProvider(appleProvider);
    } catch (err) {
      return null;
    }
  }

This code will check if the user is signed in to an Apple Account on their own device, and if not it will tell them to Login to their Apple Account on their device and then if you try again it will let you Login in the App.

Like i said, on my side it is working fine, but i would like to be able to put the App up for distribution. Does anyone ever had a similar problem and how did you solve it? Is there any other way of doing this through Firebase, like opening a window on the browser to login?

Thanks in advance!

Don't swallow exceptions! I recommend you instead "return null" show error dialog (so app reviewer can provide screenshot with all details) and/or log it somewhere remotely.

I see you're using Flutter, pobably Firebase? Then you can use FirebaseAnalytics (firebase_analytics package) that can log error so you can see all details in Firebase Console

Thank you for your post. We're investigating this currently. A representative from App Review will contact you to provide further assistance. If you continue to experience issues during review, please contact us.

Problems witth APP Review
 
 
Q