Как правильно войти в систему с помощью Apple во Flutter?IOS

Программируем под IOS
Ответить
Гость
 Как правильно войти в систему с помощью Apple во Flutter?

Сообщение Гость »


Я реализую метод входа в систему Apple в своем приложении flutter. Это мой код для входа в Apple:

Код: Выделить всё

signInWithApple() async {
var appleProvider = AppleAuthProvider();
await FirebaseAuth.instance.signInWithProvider(appleProvider);
}
For some reason, the Apple sign in doesn't configure correctly in Firebase, mainly because when signing in with Apple, the user shows up in Firebase, but it doesn't have an identifier
I have done all the implementation correctly:
  • I added Apple sign-in capabilities in Xcode and on apple developer
  • I added the Apple sign-in method in firebase auth.
  • I configured the info.plist files correctly
  • The Apple sign in button redirects to the method above
  • I've imported all the necessary packages correctly
I don't know how to fix this, I've tried using longer pieces of code, but these only seem to cause more trouble and errors.
It would be highly appreciated if anyone could provide an answer to my question.

Thank you in advance
Emiel


Источник: https://stackoverflow.com/questions/766 ... orrect-way
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «IOS»