[ios][auth] fix crash - fixes #112
This commit is contained in:
parent
3dfb6df5ed
commit
cf12fc1c10
|
@ -646,7 +646,7 @@ RCT_EXPORT_METHOD(reauthenticate:(NSString *)provider authToken:(NSString *)auth
|
||||||
NSMutableArray *output = [NSMutableArray array];
|
NSMutableArray *output = [NSMutableArray array];
|
||||||
|
|
||||||
for (id<FIRUserInfo> userInfo in providerData) {
|
for (id<FIRUserInfo> userInfo in providerData) {
|
||||||
NSMutableDictionary *pData;
|
NSMutableDictionary *pData = [NSMutableDictionary dictionary];
|
||||||
|
|
||||||
if (userInfo.providerID != nil) {
|
if (userInfo.providerID != nil) {
|
||||||
[pData setValue: userInfo.providerID forKey:@"providerId"];
|
[pData setValue: userInfo.providerID forKey:@"providerId"];
|
||||||
|
|
Loading…
Reference in New Issue