Merge pull request #750 from omer88/fix_short_link_crash
Fix short link crash
This commit is contained in:
commit
d73928432d
|
@ -161,9 +161,11 @@ RCT_EXPORT_METHOD(createShortDynamicLink: (NSDictionary *) metadata resolver:(RC
|
|||
NSLog(@"create short dynamic link failure %@", [error localizedDescription]);
|
||||
reject(@"links/failure", @"Failed to create Short Dynamic Link", error);
|
||||
}
|
||||
NSURL *shortLink = shortURL;
|
||||
NSLog(@"created short dynamic link: %@", shortLink.absoluteString);
|
||||
resolve(shortLink.absoluteString);
|
||||
else {
|
||||
NSURL *shortLink = shortURL;
|
||||
NSLog(@"created short dynamic link: %@", shortLink.absoluteString);
|
||||
resolve(shortLink.absoluteString);
|
||||
}
|
||||
}];
|
||||
}
|
||||
@catch(NSException * e) {
|
||||
|
|
Loading…
Reference in New Issue