File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ # v4.2.1
2
+ - [ fixed] Check for Pending Dynamic link guard check logic
3
+
1
4
# v4.2.0
2
5
- [ fixed] Fixed crashes that occur when a dynamic link is opened for the second time while an app is in the foreground (#5880 )
3
6
- [ Added] Plist property ` FirebaseDeepLinkPasteboardRetrievalEnabled ` to enable/disable fetching dynamic links from Pasteboard.
Original file line number Diff line number Diff line change @@ -307,7 +307,11 @@ - (void)checkForPendingDynamicLinkUsingExperimentalRetrievalProcess {
307
307
308
308
- (void )checkForPendingDynamicLink {
309
309
// Make sure this method is called only once after the application was installed.
310
- BOOL appInviteDeepLinkRead = [_userDefaults boolForKey: kFIRDLReadDeepLinkAfterInstallKey ];
310
+ // kFIRDLOpenURLKey marks checkForPendingDynamic link had been called already so no need to do it
311
+ // again. kFIRDLReadDeepLinkAfterInstallKey marks we have already read a deeplink after the
312
+ // install and so no need to do check for pending dynamic link.
313
+ BOOL appInviteDeepLinkRead = [_userDefaults boolForKey: kFIRDLOpenURLKey ] ||
314
+ [_userDefaults boolForKey: kFIRDLReadDeepLinkAfterInstallKey ];
311
315
312
316
if (appInviteDeepLinkRead || self.retrievingPendingDynamicLink ) {
313
317
NSString *errorDescription =
You can’t perform that action at this time.
0 commit comments