File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed 
packages/auth/ios/RNFBAuth Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1686,13 +1686,15 @@ - (NSDictionary *)firebaseUserToDict:(FIRUser *)user {
16861686  NSMutableArray  *enrolledFactors = [NSMutableArray  array ];
16871687
16881688  for  (FIRPhoneMultiFactorInfo *hint in hints) {
1689-     NSString  *enrollmentDate  =
1689+     NSString  *enrollmentTime  =
16901690        [[[NSISO8601DateFormatter  alloc ] init ] stringFromDate: hint.enrollmentDate];
16911691    [enrolledFactors addObject: @{
16921692      @" uid" UID ,
16931693      @" factorId" self  getJSFactorId: (hint.factorID)],
16941694      @" displayName" displayName  == nil  ? [NSNull  null ] : hint.displayName ,
1695-       @" enrollmentDate" 
1695+       @" enrollmentTime" 
1696+       //  @deprecated enrollmentDate kept for backwards compatibility, please use enrollmentTime
1697+       @" enrollmentDate" 
16961698    }];
16971699  }
16981700  return  enrolledFactors;
@@ -1745,4 +1747,4 @@ - (FIRActionCodeSettings *)buildActionCodeSettings:(NSDictionary *)actionCodeSet
17451747  return  settings;
17461748}
17471749
1748- @end 
1750+ @end 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments