Skip to content

Commit

Permalink
Release 0.32.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
echo-branch committed Mar 26, 2020
1 parent 47dbfa4 commit 4a643c8
Show file tree
Hide file tree
Showing 15 changed files with 43 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Branch-SDK/Branch-SDK/BNCConfig.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
NSString * const BNC_API_BASE_URL = @"https://api2.branch.io";
NSString * const BNC_API_VERSION = @"v1";
NSString * const BNC_LINK_URL = @"https://bnc.lt";
NSString * const BNC_SDK_VERSION = @"0.31.4";
NSString * const BNC_SDK_VERSION = @"0.32.0";
2 changes: 1 addition & 1 deletion Branch-SDK/Branch-SDK/Networking/BNCNetworkService.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

#pragma mark - BNCNetworkService

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

- (void) cancelAllOperations;
Expand Down
4 changes: 2 additions & 2 deletions Branch-TestBed/Framework-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.31.4</string>
<string>0.32.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.31.4</string>
<string>0.32.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSHumanReadableCopyright</key>
Expand Down
4 changes: 2 additions & 2 deletions Branch.framework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.31.4</string>
<string>0.32.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.31.4</string>
<string>0.32.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSHumanReadableCopyright</key>
Expand Down
Binary file modified Branch.framework/Versions/A/Branch
Binary file not shown.
1 change: 0 additions & 1 deletion Branch.framework/Versions/A/Headers/BNCConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@

FOUNDATION_EXPORT NSString*_Nonnull const BNC_SDK_VERSION;
FOUNDATION_EXPORT NSString*_Nonnull const BNC_API_BASE_URL;
FOUNDATION_EXPORT BOOL const BNC_API_PINNED;
FOUNDATION_EXPORT NSString*_Nonnull const BNC_API_VERSION;
FOUNDATION_EXPORT NSString*_Nonnull const BNC_LINK_URL;
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,6 @@

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

@end
1 change: 1 addition & 0 deletions Branch.framework/Versions/A/Headers/BNCPreferenceHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
@property (nonatomic, strong, readwrite) NSString *branchBlacklistURL;
@property (assign, atomic) BOOL limitFacebookTracking;
@property (strong, atomic) NSDate *previousAppBuildDate;
@property (assign, nonatomic, readwrite) BOOL disableAdNetworkCallouts;

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

Expand Down
7 changes: 7 additions & 0 deletions Branch.framework/Versions/A/Headers/Branch.h
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,13 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
*/
- (void)setNetworkTimeout:(NSTimeInterval)timeout;

/**
Disable callouts to ad networks for all events for a user; by default Branch sends callouts to ad networks.
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.
*/
- (void)disableAdNetworkCallouts:(BOOL)disableCallouts;

/**
Specify that Branch should NOT use an invisible SFSafariViewController to attempt cookie-based matching upon install.
If you call this method, we will fall back to using our pool of cookie-IDFA pairs for matching.
Expand Down
15 changes: 14 additions & 1 deletion Branch.framework/Versions/A/Headers/BranchEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,20 @@ typedef NS_ENUM(NSInteger, BranchEventAdType) {
@property (nonatomic, copy) NSArray<BranchUniversalObject*>*_Nonnull contentItems;
@property (nonatomic, copy) NSDictionary<NSString*, NSString*> *_Nonnull customData;

- (void) logEvent; //!< Logs the event on the Branch server.
/**
Logs the event on the Branch server.
This version will callback on success/failure.
*/
- (void)logEventWithCompletion:(void (^_Nullable)(BOOL success, NSError * _Nullable error))completion;

/**
Logs the event on the Branch server.
This version automatically caches and retries as necessary.
*/
- (void)logEvent;

- (NSDictionary*_Nonnull) dictionary; //!< Returns a dictionary representation of the event.
- (NSString* _Nonnull) description; //!< Returns a string description of the event.
@end
Expand Down
2 changes: 1 addition & 1 deletion Branch.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Branch"
s.version = "0.31.4"
s.version = "0.32.0"
s.summary = "Create an HTTP URL for any piece of content in your app"
s.description = <<-DESC
- Want the highest possible conversions on your sharing feature?
Expand Down
8 changes: 8 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
Branch iOS SDK Change Log

- v0.32.0
* _*Master Release*_ - March 26, 2020
* SDK-842 - disableAdNetworkCallouts
* SDK-777 - BranchEvent logEvent with callback
* SDK-114 - remove cert pinning
* SDK-422 - replace MD5 with SHA256 for caching objects. Prevents security scanner false alarms.
* INTENG-8758 - restore previous behavior of always returning on main

- v0.31.4
* _*Master Release*_ - Feb 3, 2020
* INTENG-8456 Sharesheet placeholder URL override. Allows more customization of iOS 13 sharesheet preview header.
Expand Down
4 changes: 2 additions & 2 deletions carthage-files/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.31.4</string>
<string>0.32.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.31.4</string>
<string>0.32.0</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
Expand Down
4 changes: 2 additions & 2 deletions checksum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#checksum for Branch-iOS-SDK found at https://s3-us-west-1.amazonaws.com/branchhost/Branch-iOS-SDK.zip
339ca894c6f2d5cb214d223d8870b3f7ef3ac87e Branch-iOS-SDK.zip
2955a443208e8d8870ef1703ed19db7a4f4fc217 Branch-iOS-SDK.zip
#checksum for Branch-iOS-TestBed found at https://s3-us-west-1.amazonaws.com/branchhost/Branch-iOS-TestBed.zip
eb151e7bc7f8ecc9ac5d39fece21056ecb56baf2 Branch-iOS-TestBed.zip
6e65baf11b28602ab52cce0a63b557d168cc544f Branch-iOS-TestBed.zip
2 changes: 1 addition & 1 deletion scripts/version
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Options:
USAGE
}

version=0.31.4
version=0.32.0

if (( $# == 0 )); then
echo $version
Expand Down

0 comments on commit 4a643c8

Please sign in to comment.