Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Firebase/DynamicLinks/FIRDLDefaultRetrievalProcessV2.m
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ - (void)retrievePendingDynamicLinkInternal {
}
NSURL *uniqueMatchLinkToCheck = [self uniqueMatchLinkToCheck];

__weak typeof(self) weakSelf = self;
__weak __typeof__(self) weakSelf = self;
FIRPostInstallAttributionCompletionHandler completionHandler =
^(NSDictionary *_Nullable dynamicLinkParameters, NSString *_Nullable matchMessage,
NSError *_Nullable error) {
typeof(self) strongSelf = weakSelf;
__typeof__(self) strongSelf = weakSelf;
if (!strongSelf) {
return;
}
Expand Down
4 changes: 2 additions & 2 deletions Firebase/DynamicLinks/FIRDynamicLinks.m
Original file line number Diff line number Diff line change
Expand Up @@ -422,10 +422,10 @@ - (nullable FIRDynamicLink *)dynamicLinkFromUniversalLinkURL:(NSURL *)url {
- (BOOL)handleUniversalLink:(NSURL *)universalLinkURL
completion:(FIRDynamicLinkUniversalLinkHandler)completion {
if ([self matchesShortLinkFormat:universalLinkURL]) {
__weak typeof(self) weakSelf = self;
__weak __typeof__(self) weakSelf = self;
[self resolveShortLink:universalLinkURL
completion:^(NSURL *url, NSError *error) {
typeof(self) strongSelf = weakSelf;
__typeof__(self) strongSelf = weakSelf;
if (strongSelf) {
FIRDynamicLink *dynamicLink = [strongSelf dynamicLinkFromCustomSchemeURL:url];
dispatch_async(dispatch_get_main_queue(), ^{
Expand Down