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!