169 похожих чатов

Has anyone experienced Sign in with Apple (with Firebase Authentication)

does not provide name or email of the user even when requested with "email" and "fullName" scopes?

Here's the code I'm using:

final provider = AppleAuthProvider();
provider.addScope("email");
provider.addScope("name");
final creds = await _auth.signInWithProvider(provider);

print(creds.user?.displayName); // => null
print(creds.user?.email); // => null

// ....

Please let me know, thanks :)

12 ответов

48 просмотров

There is a some remark, that device is remember first choice and keep it till delete. Don't remember where this was in iphone

Sree 🕷️-🦉 Автор вопроса
Юрий
There is a some remark, that device is remember fi...

Settings > Apple ID > Sign In & Security > Sign In with Apple, is that it?

Стикер

Sree 🕷️-🦉 Автор вопроса

Yep I understand, user has the privilege to hide their name and/or email... But in my case, the bottom sheet like Apple Sign In flow doesn't even prompts the user to share name/email even though I specified those scopes in the code...

Sree 🕷️ 🦉
Yep I understand, user has the privilege to hide t...

try sign_in_with_apple package where in scopes u request emai, fullname etc , such a

Sree 🕷️ 🦉
Yep I understand, user has the privilege to hide t...

no idea, just checked in my apps, everything works as expected with the question do. you want to share my email or not

Sree 🕷️-🦉 Автор вопроса
Юрий
no idea, just checked in my apps, everything works...

basically the same code? or are you using the pkg:sign_in_with_apple package?

Sree 🕷️-🦉 Автор вопроса
Дмитрий Щербаков
screenshot try sign_in_with_apple package where in scopes u...

actually i've already tried that package as well, still got null response and even more problems on android apple auth flow, so switched back to Firebase only solution. i should check again anyway :)

Sree 🕷️-🦉 Автор вопроса
Юрий
same code, with firebase auth

sounds like mine problem now 🥲.. i should do more digging

Sree 🕷️ 🦉
actually i've already tried that package as well, ...

did you try it in “debug” mode or production mode?

Sree 🕷️-🦉 Автор вопроса

Похожие вопросы

Обсуждают сегодня

30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
13
Недавно Google Project Zero нашёл багу в SQLite с помощью LLM, о чём достаточно было шумно в определённых интернетах, которые сопровождались рассказами, что скоро всех "ибешни...
Alex Sherbakov
5
Ребят в СИ можно реализовать ООП?
Николай
33
Как передать управляющий символ в открытую через CreateProcess консоль? Собсна, есть процедура: procedure TRedirectThread.WriteData(Data: OEMString); var Written: Cardinal;...
Serjone
6
в JclConsole объявлено так: function CtrlHandler(CtrlType: DWORD): BOOL; stdcall; - где ваше объявление с stdcall? у вас на картинке нет stdcall
Karagy
8
https://github.com/erlang/otp/blob/OTP-27.1/lib/kernel/src/logger_h_common.erl#L174 https://github.com/erlang/otp/blob/OTP-27.1/lib/kernel/src/logger_olp.erl#L76 15 лет назад...
Maksim Lapshin
20
program test; {$mode delphi} procedure proc(v: int32); overload; begin end; procedure proc(v: int64); overload; begin end; var x: uint64; begin proc(x); end. Уж не знаю...
notme
6
Карта сайта