Skip to content

Commit 071d6e9

Browse files
authored
FIRErrorCodeDurableDeepLinkFailed is for 3P only (#2797)
* FIRErrorCodeDurableDeepLinkFailed is for 3P only * import is also 3P only
1 parent 9c72e1a commit 071d6e9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Firebase/DynamicLinks/FIRDynamicLinks.m

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
#import "DynamicLinks/FIRDLScionLogging.h"
3030
#endif
3131

32+
#ifdef FIRDynamicLinks3P
3233
#import "DynamicLinks/FDLURLComponents/FDLURLComponents+Private.h"
34+
#endif
3335
#import "DynamicLinks/FIRDLRetrievalProcessFactory.h"
3436
#import "DynamicLinks/FIRDLRetrievalProcessProtocols.h"
3537
#import "DynamicLinks/FIRDLRetrievalProcessResult.h"
@@ -56,9 +58,6 @@
5658
NSString *const kFIRDLReadDeepLinkAfterInstallKey =
5759
@"com.google.appinvite.readDeeplinkAfterInstall";
5860
59-
// Error code from FDL.
60-
static const NSInteger FIRErrorCodeDurableDeepLinkFailed = -119;
61-
6261
// We should only open url once. We use the following key to store the state in the user defaults.
6362
static NSString *const kFIRDLOpenURLKey = @"com.google.appinvite.openURL";
6463
@@ -86,6 +85,9 @@ @interface FIRDynamicLinks () <FIRDLRetrievalProcessDelegate>
8685
@end
8786
8887
#ifdef FIRDynamicLinks3P
88+
// Error code from FDL.
89+
static const NSInteger FIRErrorCodeDurableDeepLinkFailed = -119;
90+
8991
@interface FIRDynamicLinks () {
9092
/// Stored Analytics reference, if it exists.
9193
id<FIRAnalyticsInterop> _Nullable _analytics;

0 commit comments

Comments
 (0)