[ios] fix NSURL json serialization issue when using providerData, now uses absoluteString

This commit is contained in:
Salakar 2017-05-12 15:15:02 +01:00
parent f3136427c2
commit fd19999e48
1 changed files with 1 additions and 1 deletions

View File

@ -679,7 +679,7 @@ RCT_EXPORT_METHOD(reauthenticate:(NSString *)provider authToken:(NSString *)auth
];
if ([user valueForKey:@"photoURL"] != nil) {
[userDict setValue: [NSString stringWithFormat:@"%@", user.photoURL] forKey:@"photoURL"];
[userDict setValue: [user.photoURL absoluteString] forKey:@"photoURL"];
}
return userDict;