[ios][auth] fix crash - fixes #112

This commit is contained in:
Salakar 2017-05-13 13:08:43 +01:00
parent 3dfb6df5ed
commit cf12fc1c10
1 changed files with 1 additions and 1 deletions

View File

@ -646,7 +646,7 @@ RCT_EXPORT_METHOD(reauthenticate:(NSString *)provider authToken:(NSString *)auth
NSMutableArray *output = [NSMutableArray array];
for (id<FIRUserInfo> userInfo in providerData) {
NSMutableDictionary *pData;
NSMutableDictionary *pData = [NSMutableDictionary dictionary];
if (userInfo.providerID != nil) {
[pData setValue: userInfo.providerID forKey:@"providerId"];