mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-10 22:45:59 +05:45
Keeps a strong reference for handling dynamic deeplinks (#4325)
This commit is contained in:
1 parent
75b8f92564
commit
210850900e
1 file changed
+3
-2
@@ -113,10 +113,11 @@ NSString *GINFingerprintJSMethodString() {
|
||||
[webView
|
||||
evaluateJavaScript:GINFingerprintJSMethodString()
|
||||
completionHandler:^(id _Nullable result, NSError *_Nullable functionError) {
|
||||
__typeof__(self) strongSelf = weakSelf;
|
||||
if ([result isKindOfClass:[NSString class]]) {
|
||||
[weakSelf handleExecutionResult:result];
|
||||
[strongSelf handleExecutionResult:result];
|
||||
} else {
|
||||
[weakSelf handleExecutionError:nil];
|
||||
[strongSelf handleExecutionError:nil];
|
||||
}
|
||||
}];
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user