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.
1 parent 2c6905e commit b1cee9aCopy full SHA for b1cee9a
packages/auth/ios/RNFBAuth/RNFBAuthModule.m
@@ -1649,7 +1649,7 @@ - (NSDictionary *)firebaseUserToDict:(FIRUser *)user {
1649
[[[NSISO8601DateFormatter alloc] init] stringFromDate:hint.enrollmentDate];
1650
[enrolledFactors addObject:@{
1651
@"uid" : hint.UID,
1652
- @"factorId" : [self getJSFactorId:(hint.factorID)],
+ @"factorId" : hint.factorID == nil ? [NSNull null] : [self getJSFactorId:(hint.factorID)],
1653
@"displayName" : hint.displayName == nil ? [NSNull null] : hint.displayName,
1654
@"enrollmentDate" : enrollmentDate,
1655
}];
0 commit comments