Skip to content

Commit 8af96ff

Browse files
author
Edward Smith
committed
Release 0.14.9.
1 parent 926a339 commit 8af96ff

File tree

11 files changed

+48
-10
lines changed

11 files changed

+48
-10
lines changed

Branch-SDK/Branch-SDK/BNCConfig.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616

1717
NSString * const BNC_API_VERSION = @"v1";
1818
NSString * const BNC_LINK_URL = @"https://bnc.lt";
19-
NSString * const BNC_SDK_VERSION = @"0.14.8";
19+
NSString * const BNC_SDK_VERSION = @"0.14.9";

Branch.framework.zip

529 KB
Binary file not shown.

Branch.framework/Versions/A/Branch

1.01 MB
Binary file not shown.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,6 @@
8383
- (NSDictionary *)getContentAnalyticsManifest;
8484
- (void)saveContentAnalyticsManifest:(NSDictionary *)cdManifest;
8585

86-
- (void) save; // Flushes preference queue to persistence.
86+
- (void) synchronize; // Flushes preference queue to persistence.
8787

8888
@end

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

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#import "BranchActivityItemProvider.h"
2121
#import "BranchDeepLinkingController.h"
2222
#import "BNCCommerceEvent.h"
23+
#import "BranchShareLink.h"
2324

2425
/**
2526
`Branch` is the primary interface of the Branch iOS SDK. Currently, all interactions you will make are funneled through this class. It is not meant to be instantiated or subclassed, usage should be limited to the global instance.
@@ -31,7 +32,7 @@
3132
/// @name Constants
3233
///----------------
3334

34-
#pragma mark - Branch Link Features
35+
#pragma mark Branch Link Features
3536

3637
/**
3738
## Branch Link Features
@@ -337,12 +338,45 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
337338
- (BOOL)handleDeepLink:(NSURL *)url;
338339

339340
/**
340-
Allow Branch to handle restoration from an NSUserActivity, returning whether or not it was from a Branch link.
341+
Allow Branch to handle restoration from an NSUserActivity, returning whether or not it was
342+
from a Branch link.
341343
342344
@param userActivity The NSUserActivity that caused the app to be opened.
343345
*/
344346
- (BOOL)continueUserActivity:(NSUserActivity *)userActivity;
345347

348+
/**
349+
Call this method from inside your app delegate's `application:openURL:sourceApplication:annotation:`
350+
method with the so that Branch can open the passed URL.
351+
352+
@param application The application that was passed to your app delegate.
353+
@param url The URL that was passed to your app delegate.
354+
@param sourceApplication The sourceApplication that was passed to your app delegate.
355+
@param annotation The annotation that was passed to your app delegate.
356+
@return Returns `YES` if Branch handled the passed URL.
357+
*/
358+
- (BOOL)application:(UIApplication *)application
359+
openURL:(NSURL *)url
360+
sourceApplication:(NSString *)sourceApplication
361+
annotation:(id)annotation;
362+
363+
/**
364+
Call this method from inside your app delegate's `application:openURL:options:`
365+
method with the so that Branch can open the passed URL.
366+
367+
This method is functionally the same as calling the Branch method
368+
`application:openURL:sourceApplication:annotation:`. This method matches the new Apple appDelegate
369+
method for convenience.
370+
371+
@param application The application that was passed to your app delegate.
372+
@param url The URL that was passed to your app delegate.
373+
@param options The options dictionary that was passed to your app delegate.
374+
@return Returns `YES` if Branch handled the passed URL.
375+
*/
376+
- (BOOL)application:(UIApplication *)application
377+
openURL:(NSURL *)url
378+
options:(NSDictionary</*UIApplicationOpenURLOptionsKey*/NSString*,id> *)options;
379+
346380
///--------------------------------
347381
/// @name Push Notification Support
348382
///--------------------------------

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@
3232
- (id)initWithParams:(NSDictionary *)params andTags:(NSArray *)tags andFeature:(NSString *)feature andStage:(NSString *)stage andAlias:(NSString *)alias __attribute__((deprecated(("Use the delegate method instead"))));;
3333
- (id)initWithParams:(NSDictionary *)params tags:(NSArray *)tags feature:(NSString *)feature stage:(NSString *)stage campaign:(NSString *)campaign alias:(NSString *)alias delegate:(id <BranchActivityItemProviderDelegate>)delegate;
3434

35+
+ (NSString *)humanReadableChannelWithActivityType:(NSString *)activityString;
3536
@end

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ typedef NS_ENUM(NSInteger, ContentIndexMode) {
4747
- (void)registerViewWithCallback:(nullable callbackWithParams)callback;
4848

4949
- (void)userCompletedAction:(nonnull NSString *)action;
50+
- (void)userCompletedAction:(nonnull NSString *)action withState:(nullable NSDictionary *)state;
5051

5152
- (nullable NSString *)getShortUrlWithLinkProperties:(nonnull BranchLinkProperties *)linkProperties;
5253
- (nullable NSString *)getShortUrlWithLinkPropertiesAndIgnoreFirstClick:(nonnull BranchLinkProperties *)linkProperties;
@@ -72,4 +73,6 @@ typedef NS_ENUM(NSInteger, ContentIndexMode) {
7273

7374
- (nonnull NSString *)description;
7475

76+
- (NSDictionary*_Nonnull)getDictionaryWithCompleteLinkProperties:(BranchLinkProperties*_Nonnull)linkProperties;
77+
- (NSDictionary*_Nonnull)getParamsForServerRequestWithAddedLinkProperties:(BranchLinkProperties*_Nonnull)linkProperties;
7578
@end

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.14.8"
3+
s.version = "0.14.9"
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?

carthage-files/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.14.8</string>
18+
<string>0.14.9</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>0.14.8</string>
22+
<string>0.14.9</string>
2323
<key>NSPrincipalClass</key>
2424
<string></string>
2525
</dict>

checksum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#checksum for Branch-iOS-SDK found at https://s3-us-west-1.amazonaws.com/branchhost/Branch-iOS-SDK.zip
2-
53122ee5a0b38b72805b88732d0d0ba9f714f8f6 Branch-iOS-SDK.zip
2+
f5410f22cc1a942a851e73c6b7ac1400477e1c74 Branch-iOS-SDK.zip
33
#checksum for Branch-iOS-TestBed found at https://s3-us-west-1.amazonaws.com/branchhost/Branch-iOS-TestBed.zip
4-
3328bd3809c9edd98c17a7c86f7d4b62c1401eea Branch-iOS-TestBed.zip
4+
7638ea9f12a7d4fd568cee70a6cd51d772c86824 Branch-iOS-TestBed.zip

0 commit comments

Comments
 (0)