Skip to content

Commit 75b6a45

Browse files
committed
remove a few long deprecated lifecycle methods, these have been noops for some time
1 parent 9ff026e commit 75b6a45

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

Sources/BranchSDK/Public/Branch.h

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -739,28 +739,6 @@ Sets a custom base URL for all calls to the Branch API.
739739
*/
740740
- (void)disableAdNetworkCallouts:(BOOL)disableCallouts;
741741

742-
/**
743-
Specify that Branch should NOT use an invisible SFSafariViewController to attempt cookie-based matching upon install.
744-
If you call this method, we will fall back to using our pool of cookie-IDFA pairs for matching.
745-
*/
746-
- (void)disableCookieBasedMatching __attribute__((deprecated(("Feature removed. Did not work on iOS 11+"))));
747-
748-
/**
749-
TL;DR: If you're using a version of the Facebook SDK that prevents application:didFinishLaunchingWithOptions: from
750-
returning YES/true when a Universal Link is clicked, you should enable this option.
751-
752-
Long explanation: in application:didFinishLaunchingWithOptions: you should choose one of the following:
753-
754-
1. Always `return YES;`, and do *not* invoke `[[Branch getInstance] accountForFacebookSDKPreventingAppLaunch];`
755-
2. Allow the Facebook SDK to determine whether `application:didFinishLaunchingWithOptions:` returns `YES` or `NO`,
756-
and invoke `[[Branch getInstance] accountForFacebookSDKPreventingAppLaunch];`
757-
758-
The reason for this second option is that the Facebook SDK will return `NO` if a Universal Link opens the app
759-
but that UL is not a Facebook UL. Some developers prefer not to modify
760-
`application:didFinishLaunchingWithOptions:` to always return `YES` and should use this method instead.
761-
*/
762-
- (void)accountForFacebookSDKPreventingAppLaunch __attribute__((deprecated(("Please ensure application:didFinishLaunchingWithOptions: always returns YES/true instead of using this method. It will be removed in a future release."))));
763-
764742
/**
765743
For use by other Branch SDKs
766744
@@ -786,16 +764,6 @@ Sets a custom base URL for all calls to the Branch API.
786764
*/
787765
- (void)setRequestMetadataKey:(NSString *)key value:(nullable id)value;
788766

789-
- (void)enableDelayedInit __attribute__((deprecated(("No longer valid with new init process"))));
790-
791-
- (void)disableDelayedInit __attribute__((deprecated(("No longer valid with new init process"))));
792-
793-
- (nullable NSURL *)getUrlForOnboardingWithRedirectUrl:(nullable NSString *)redirectUrl __attribute__((deprecated(("Feature removed. Did not work on iOS 11+"))));;
794-
795-
- (void)resumeInit __attribute__((deprecated(("Feature removed. Did not work on iOS 11+"))));
796-
797-
- (void)setInstallRequestDelay:(NSInteger)installRequestDelay __attribute__((deprecated(("No longer valid with new init process"))));
798-
799767
/**
800768
Disables the Branch SDK from tracking the user. This is useful for GDPR privacy compliance.
801769

0 commit comments

Comments
 (0)