Skip to content

Commit ee3f014

Browse files
author
Dan Walkowski
committed
Updates for 0.11.14 release.
1 parent 6a8c5da commit ee3f014

File tree

8 files changed

+54
-11
lines changed

8 files changed

+54
-11
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.13"
12+
#define SDK_VERSION @"0.11.14"
1313

1414
#define BNC_PROD_ENV
1515
//#define BNC_STAGE_ENV

Branch.framework/Versions/A/Branch

-409 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.13"
12+
#define SDK_VERSION @"0.11.14"
1313

1414
#define BNC_PROD_ENV
1515
//#define BNC_STAGE_ENV

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131
@property (assign, nonatomic) BOOL explicitlyRequestedReferrable;
3232
@property (assign, nonatomic) BOOL isReferrable;
3333
@property (assign, nonatomic) BOOL isDebug;
34-
@property (assign, nonatomic) BOOL isConnectedToRemoteDebug;
3534
@property (assign, nonatomic) BOOL isContinuingUserActivity;
3635
@property (assign, nonatomic) NSInteger retryCount;
3736
@property (assign, nonatomic) NSTimeInterval retryInterval;
3837
@property (assign, nonatomic) NSTimeInterval timeout;
38+
@property (strong, nonatomic) NSString *externalIntentURI;
3939

4040
+ (BNCPreferenceHelper *)preferenceHelper;
4141

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

Lines changed: 39 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,15 @@ typedef NS_ENUM(NSUInteger, BranchPromoCodeUsageType) {
401401
*/
402402
- (BOOL)continueUserActivity:(NSUserActivity *)userActivity;
403403

404+
///--------------------------------
405+
/// @name Push Notification Support
406+
///--------------------------------
407+
408+
#pragma mark - Push Notification support
409+
410+
/* Extract the short URL if there is one */
411+
- (void)handlePushNotification:(NSDictionary*) userInfo;
412+
404413
#pragma mark - Deep Link Controller methods
405414

406415
///---------------------------
@@ -430,6 +439,14 @@ typedef NS_ENUM(NSUInteger, BranchPromoCodeUsageType) {
430439
*/
431440
+ (void)setDebug __attribute__((deprecated(("Use the instance method instead"))));
432441

442+
/**
443+
Specify additional constant parameters to be included in the response
444+
445+
@param debugParams dictionary of keystrings/valuestrings that will be added to response
446+
*/
447+
-(void) setDeepLinkDebugMode:(NSDictionary *)debugParams;
448+
449+
433450
/**
434451
Specify the time to wait in seconds between retries in the case of a Branch server error
435452
@@ -458,6 +475,12 @@ typedef NS_ENUM(NSUInteger, BranchPromoCodeUsageType) {
458475
*/
459476
- (void)disableCookieBasedMatching;
460477

478+
/**
479+
If you're using a version of the Facebook SDK that prevents application:didFinishLaunchingWithOptions: from returning
480+
YES/true when a Universal Link is clicked, you should enable this option.
481+
*/
482+
- (void)accountForFacebookSDKPreventingAppLaunch;
483+
461484
#pragma mark - Session Item methods
462485

463486
///--------------------
@@ -1316,6 +1339,22 @@ typedef NS_ENUM(NSUInteger, BranchPromoCodeUsageType) {
13161339
*/
13171340
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate callback:(callbackWithUrl)callback;
13181341

1342+
/**
1343+
Take the current screen and make it discoverable, adding it to Apple's Core Spotlight index. Will be public if specified. You can override the type as desired, using one of the types provided in MobileCoreServices.
1344+
1345+
@param title Title for the spotlight preview item.
1346+
@param description Description for the spotlight preview item.
1347+
@param thumbnailUrl Url to an image to be used for the thumnbail in spotlight.
1348+
@param linkParams Additional params to be added to the NSUserActivity. These will also be added to the Branch link.
1349+
@param publiclyIndexable Whether or not this item should be added to Apple's public search index.
1350+
@param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
1351+
@param keywords A set of keywords to be used in Apple's search index.
1352+
@param expirationDate ExpirationDate after which this will not appear in Apple's search index.
1353+
@param callback Callback called with the Branch url this will fallback to.
1354+
@warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
1355+
*/
1356+
- (void)createDiscoverableContentWithTitle:(NSString *)title description:(NSString *)description thumbnailUrl:(NSURL *)thumbnailUrl linkParams:(NSDictionary *)linkParams type:(NSString *)type publiclyIndexable:(BOOL)publiclyIndexable keywords:(NSSet *)keywords expirationDate:(NSDate *)expirationDate spotlightCallback:(callbackWithUrlAndSpotlightIdentifier)spotlightCallback;
1357+
13191358
#pragma mark - Referral Code methods
13201359

13211360
///-------------------------
@@ -1410,13 +1449,6 @@ typedef NS_ENUM(NSUInteger, BranchPromoCodeUsageType) {
14101449
*/
14111450
- (id)initWithInterface:(BNCServerInterface *)interface queue:(BNCServerRequestQueue *)queue cache:(BNCLinkCache *)cache preferenceHelper:(BNCPreferenceHelper *)preferenceHelper key:(NSString *)key;
14121451

1413-
/**
1414-
Method for logging a message to the Branch server, used when remote debugging is enabled.
1415-
1416-
@warning This is meant for use internally only (exposed for the sake of testing) and should not be used by apps.
1417-
*/
1418-
- (void)log:(NSString *)log;
1419-
14201452
/**
14211453
Method used by BranchUniversalObject to register a view on content
14221454

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ typedef NS_ENUM(NSInteger, ContentIndexMode) {
3030
@property (nonatomic) ContentIndexMode contentIndexMode;
3131
@property (nonatomic, strong) NSArray *keywords;
3232
@property (nonatomic, strong) NSDate *expirationDate;
33+
@property (nonatomic, strong) NSString *spotlightIdentifier;
3334

3435
- (instancetype)initWithCanonicalIdentifier:(NSString *)canonicalIdentifier;
3536
- (instancetype)initWithTitle:(NSString *)title;
@@ -43,6 +44,7 @@ typedef NS_ENUM(NSInteger, ContentIndexMode) {
4344
- (void)showShareSheetWithLinkProperties:(BranchLinkProperties *)linkProperties andShareText:(NSString *)shareText fromViewController:(UIViewController *)viewController andCallback:(callback)callback;
4445
- (void)listOnSpotlight;
4546
- (void)listOnSpotlightWithCallback:(callbackWithUrl)callback;
47+
- (void)listOnSpotlightWithIdentifierCallback:(callbackWithUrlAndSpotlightIdentifier)spotlightCallback;
4648

4749
// Convenience method for initSession methods that return BranchUniversalObject, but can be used safely by anyone.
4850
+ (BranchUniversalObject *)getBranchUniversalObjectFromDictionary:(NSDictionary *)dictionary;

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.13"
3+
s.version = "0.11.14"
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: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
Branch iOS SDK change log
22

3+
- v0.11.14
4+
* include channel when generating spotlight link
5+
* push notification support
6+
* workaround for Facebook sometimes returning NO from didFinishLaunching
7+
* spotlight IDs optionally returned in indexing callbacks
8+
* added ability to have custom parameters appear in deeplink data for debugging
9+
* removed fftl
10+
* added externalIntentURI to capture referrals
11+
312
- v0.11.13
413
* fixed race condition when Universal Link is clicked (introduced in 0.11.12 only)
514
* updated TestBed app to use Branch Universal Object

0 commit comments

Comments
 (0)