[ios][auth] added missing recover email check action code

This commit is contained in:
Salakar 2017-10-03 16:53:15 +01:00
parent 797780f795
commit 2a805439e7
1 changed files with 3 additions and 0 deletions

View File

@ -558,6 +558,9 @@ RCT_EXPORT_METHOD(checkActionCode:
case FIRActionCodeOperationUnknown: case FIRActionCodeOperationUnknown:
actionType = @"UNKNOWN"; actionType = @"UNKNOWN";
break; break;
case FIRActionCodeOperationRecoverEmail:
actionType = @"RECOVER_EMAIL";
break;
} }
NSDictionary *result = @{@"data": @{@"email": [info dataForKey:FIRActionCodeEmailKey], @"fromEmail": [info dataForKey:FIRActionCodeFromEmailKey],}, @"actionType": actionType,}; NSDictionary *result = @{@"data": @{@"email": [info dataForKey:FIRActionCodeEmailKey], @"fromEmail": [info dataForKey:FIRActionCodeFromEmailKey],}, @"actionType": actionType,};