Skip to content

Commit

Permalink
Remove just the public APIs, there's some refactoring necessary to re…
Browse files Browse the repository at this point in the history
…move the deprecated methods
  • Loading branch information
echo-branch committed Nov 1, 2023
1 parent 8767422 commit 6c171f7
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions BranchSDK/BranchUniversalObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,25 +187,12 @@ FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionRefurbished;
- (void)showShareSheetWithShareText:(nullable NSString *)shareText
completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed))completion;

- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
andShareText:(nullable NSString *)shareText
fromViewController:(nullable UIViewController *)viewController
completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed))completion;

/// Returns with activityError as well
- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
andShareText:(nullable NSString *)shareText
fromViewController:(nullable UIViewController *)viewController
completionWithError:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed, NSError*_Nullable error))completion;

// iPad
- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
andShareText:(nullable NSString *)shareText
fromViewController:(nullable UIViewController *)viewController
anchor:(nullable UIBarButtonItem *)anchor
completion:(void (^ _Nullable)(NSString * _Nullable activityType, BOOL completed))completion;

// Returns with activityError as well
// iPad needs an anchor
- (void)showShareSheetWithLinkProperties:(nullable BranchLinkProperties *)linkProperties
andShareText:(nullable NSString *)shareText
fromViewController:(nullable UIViewController *)viewController
Expand Down

0 comments on commit 6c171f7

Please sign in to comment.