We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fetchSignInMethodsForEmail
nil
1 parent 3dab95e commit 6d261ccCopy full SHA for 6d261cc
packages/firebase_auth/firebase_auth/ios/Classes/FLTFirebaseAuthPlugin.m
@@ -1049,7 +1049,11 @@ - (void)fetchSignInMethodsForEmailApp:(nonnull PigeonFirebaseApp *)app
1049
if (error != nil) {
1050
completion(nil, [FLTFirebaseAuthPlugin convertToFlutterError:error]);
1051
} else {
1052
- completion(providers, nil);
+ if (providers == nil) {
1053
+ completion(@[], nil);
1054
+ } else {
1055
+ completion(providers, nil);
1056
+ }
1057
}
1058
}];
1059
0 commit comments