我已经看到Firebase Auth-获取提供程序ID但在unity中,我找不到如何从providerData中获取提供者id请帮我
我认为这就是你想要的。
string currentUserProvider = "";
foreach (Firebase.Auth.IUserInfo d in FirebaseAuth.DefaultInstance.CurrentUser.ProviderData) {
currentUserProvider = d.ProviderId;
}