Skip to content

Commit 4a643c8

Browse files
committed
Release 0.32.0.
1 parent 47dbfa4 commit 4a643c8

File tree

15 files changed

+43
-15
lines changed

15 files changed

+43
-15
lines changed

Branch-SDK/Branch-SDK/BNCConfig.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
NSString * const BNC_API_BASE_URL = @"https://api2.branch.io";
1212
NSString * const BNC_API_VERSION = @"v1";
1313
NSString * const BNC_LINK_URL = @"https://bnc.lt";
14-
NSString * const BNC_SDK_VERSION = @"0.31.4";
14+
NSString * const BNC_SDK_VERSION = @"0.32.0";

Branch-SDK/Branch-SDK/Networking/BNCNetworkService.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
#pragma mark - BNCNetworkService
3434

35-
@interface BNCNetworkService : NSObject <BNCNetworkServiceProtocol>
35+
@interface BNCNetworkService : NSObject <BNCNetworkServiceProtocol, NSURLSessionDelegate>
3636
+ (instancetype) new;
3737

3838
- (void) cancelAllOperations;

Branch-TestBed/Framework-Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<key>CFBundlePackageType</key>
1818
<string>FMWK</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>0.31.4</string>
20+
<string>0.32.0</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>0.31.4</string>
24+
<string>0.32.0</string>
2525
<key>LSRequiresIPhoneOS</key>
2626
<true/>
2727
<key>NSHumanReadableCopyright</key>

Branch.framework/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<key>CFBundlePackageType</key>
1818
<string>FMWK</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>0.31.4</string>
20+
<string>0.32.0</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>0.31.4</string>
24+
<string>0.32.0</string>
2525
<key>LSRequiresIPhoneOS</key>
2626
<true/>
2727
<key>NSHumanReadableCopyright</key>

Branch.framework/Versions/A/Branch

-159 KB
Binary file not shown.

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@
1515

1616
FOUNDATION_EXPORT NSString*_Nonnull const BNC_SDK_VERSION;
1717
FOUNDATION_EXPORT NSString*_Nonnull const BNC_API_BASE_URL;
18-
FOUNDATION_EXPORT BOOL const BNC_API_PINNED;
1918
FOUNDATION_EXPORT NSString*_Nonnull const BNC_API_VERSION;
2019
FOUNDATION_EXPORT NSString*_Nonnull const BNC_LINK_URL;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,6 @@
113113

114114
/// Pins the session to the array of public keys.
115115
@optional
116-
- (NSError*) pinSessionToPublicSecKeyRefs:(NSArray/**<SecKeyRef>*/*)publicKeys;
116+
- (NSError*) pinSessionToPublicSecKeyRefs:(NSArray/**<SecKeyRef>*/*)publicKeys __deprecated;
117117

118118
@end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
4949
@property (nonatomic, strong, readwrite) NSString *branchBlacklistURL;
5050
@property (assign, atomic) BOOL limitFacebookTracking;
5151
@property (strong, atomic) NSDate *previousAppBuildDate;
52+
@property (assign, nonatomic, readwrite) BOOL disableAdNetworkCallouts;
5253

5354
@property (strong, nonatomic, readwrite) NSURL *faceBookAppLink;
5455

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,13 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
678678
*/
679679
- (void)setNetworkTimeout:(NSTimeInterval)timeout;
680680

681+
/**
682+
Disable callouts to ad networks for all events for a user; by default Branch sends callouts to ad networks.
683+
684+
By calling this method with YES, Branch will not send any events to the ad networks specified in your Branch account. If ad networks are not specified in your Branch account, this method will be ignored and events will still be sent.
685+
*/
686+
- (void)disableAdNetworkCallouts:(BOOL)disableCallouts;
687+
681688
/**
682689
Specify that Branch should NOT use an invisible SFSafariViewController to attempt cookie-based matching upon install.
683690
If you call this method, we will fall back to using our pool of cookie-IDFA pairs for matching.

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,20 @@ typedef NS_ENUM(NSInteger, BranchEventAdType) {
8888
@property (nonatomic, copy) NSArray<BranchUniversalObject*>*_Nonnull contentItems;
8989
@property (nonatomic, copy) NSDictionary<NSString*, NSString*> *_Nonnull customData;
9090

91-
- (void) logEvent; //!< Logs the event on the Branch server.
91+
/**
92+
Logs the event on the Branch server.
93+
94+
This version will callback on success/failure.
95+
*/
96+
- (void)logEventWithCompletion:(void (^_Nullable)(BOOL success, NSError * _Nullable error))completion;
97+
98+
/**
99+
Logs the event on the Branch server.
100+
101+
This version automatically caches and retries as necessary.
102+
*/
103+
- (void)logEvent;
104+
92105
- (NSDictionary*_Nonnull) dictionary; //!< Returns a dictionary representation of the event.
93106
- (NSString* _Nonnull) description; //!< Returns a string description of the event.
94107
@end

0 commit comments

Comments
 (0)