Skip to content

Commit 5c66377

Browse files
committed
Updates for 0.11.15 release.
1 parent b401e23 commit 5c66377

File tree

8 files changed

+27
-7
lines changed

8 files changed

+27
-7
lines changed

Branch-SDK/Branch-SDK/BNCConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#ifndef Branch_SDK_Config_h
1010
#define Branch_SDK_Config_h
1111

12-
#define SDK_VERSION @"0.11.14"
12+
#define SDK_VERSION @"0.11.15"
1313

1414
#define BNC_PROD_ENV
1515
//#define BNC_STAGE_ENV

Branch.framework/Versions/A/Branch

55.6 KB
Binary file not shown.

Branch.framework/Versions/A/Headers/BNCConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#ifndef Branch_SDK_Config_h
1010
#define Branch_SDK_Config_h
1111

12-
#define SDK_VERSION @"0.11.14"
12+
#define SDK_VERSION @"0.11.15"
1313

1414
#define BNC_PROD_ENV
1515
//#define BNC_STAGE_ENV

Branch.framework/Versions/A/Headers/Branch.h

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,8 +407,14 @@ typedef NS_ENUM(NSUInteger, BranchPromoCodeUsageType) {
407407

408408
#pragma mark - Push Notification support
409409

410-
/* Extract the short URL if there is one */
411-
- (void)handlePushNotification:(NSDictionary*) userInfo;
410+
/**
411+
Allow Branch to handle a push notification with a Branch link.
412+
413+
To make use of this, when creating a push notification, specify the Branch Link as an NSString, for key @"branch".
414+
415+
NSDictionary userInfo = @{@"branch": @"https://bnc.lt/...", ... };
416+
*/
417+
- (void)handlePushNotification:(NSDictionary *)userInfo;
412418

413419
#pragma mark - Deep Link Controller methods
414420

@@ -1456,4 +1462,9 @@ typedef NS_ENUM(NSUInteger, BranchPromoCodeUsageType) {
14561462
*/
14571463
- (void)registerViewWithParams:(NSDictionary *)params andCallback:(callbackWithParams)callback;
14581464

1465+
/**
1466+
Method used by external Branch libs to initiate server requests
1467+
*/
1468+
- (void)executeGenericRequest:(BNCServerRequest*)request;
1469+
14591470
@end

Branch.framework/Versions/A/Headers/BranchUniversalObject.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#import "Branch.h"
1212

1313
typedef void (^callback) ();
14+
typedef void (^shareCompletion) (NSString *activityType, BOOL completed);
1415

1516
@interface BranchUniversalObject : NSObject
1617

@@ -40,8 +41,11 @@ typedef NS_ENUM(NSInteger, ContentIndexMode) {
4041
- (NSString *)getShortUrlWithLinkProperties:(BranchLinkProperties *)linkProperties;
4142
- (void)getShortUrlWithLinkProperties:(BranchLinkProperties *)linkProperties andCallback:(callbackWithUrl)callback;
4243
- (UIActivityItemProvider *)getBranchActivityItemWithLinkProperties:(BranchLinkProperties *)linkProperties;
43-
- (void)showShareSheetWithShareText:(NSString *)shareText andCallback:(callback)callback;
44-
- (void)showShareSheetWithLinkProperties:(BranchLinkProperties *)linkProperties andShareText:(NSString *)shareText fromViewController:(UIViewController *)viewController andCallback:(callback)callback;
44+
- (void)showShareSheetWithShareText:(NSString *)shareText andCallback:(callback)callback __attribute__((deprecated(("This method has been deprecated. Use -[showShareSheetWithShareText:completion:] instead."))));
45+
- (void)showShareSheetWithLinkProperties:(BranchLinkProperties *)linkProperties andShareText:(NSString *)shareText fromViewController:(UIViewController *)viewController andCallback:(callback)callback __attribute__((deprecated(("This method has been deprecated. Use -[showShareSheetWithLinkProperties:andShareText:fromViewController:viewController:completion:] instead."))));
46+
- (void)showShareSheetWithShareText:(NSString *)shareText completion:(shareCompletion)completion;
47+
- (void)showShareSheetWithLinkProperties:(BranchLinkProperties *)linkProperties andShareText:(NSString *)shareText fromViewController:(UIViewController *)viewController completion:(shareCompletion)completion;
48+
4549
- (void)listOnSpotlight;
4650
- (void)listOnSpotlightWithCallback:(callbackWithUrl)callback;
4751
- (void)listOnSpotlightWithIdentifierCallback:(callbackWithUrlAndSpotlightIdentifier)spotlightCallback;

Branch.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Branch"
3-
s.version = "0.11.14"
3+
s.version = "0.11.15"
44
s.summary = "Create an HTTP URL for any piece of content in your app"
55
s.description = <<-DESC
66
- Want the highest possible conversions on your sharing feature?

ChangeLog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
Branch iOS SDK change log
22

3+
- v0.11.15
4+
* improvements on share sheet
5+
* Slack bug fix
6+
* new completion handler for share sheet
7+
38
- v0.11.14
49
* include channel when generating spotlight link
510
* push notification support

scripts/pre-release.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)