Skip to content

Commit

Permalink
Release 0.24.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Smith committed Apr 3, 2018
1 parent e6748b8 commit a9b11c2
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 6 deletions.
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.23.5</string>
<string>0.24.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.23.5</string>
<string>0.24.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: 1 addition & 0 deletions Branch.framework/Versions/A/Headers/BNCError.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ typedef NS_ENUM(NSInteger, BNCErrorCode) {
BNCRedeemZeroCreditsError = 1012,
BNCSpotlightIdentifierError = 1013,
BNCSpotlightPublicIndexError = 1014,
BNCTrackingDisabledError = 1015,
BNCHighestError,
};

Expand Down
1 change: 1 addition & 0 deletions Branch.framework/Versions/A/Headers/BNCLinkCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
@interface BNCLinkCache : NSObject
- (void)setObject:(NSString *)anObject forKey:(BNCLinkData *)aKey;
- (NSString *)objectForKey:(BNCLinkData *)aKey;
- (void) clear;
@end
4 changes: 2 additions & 2 deletions Branch.framework/Versions/A/Headers/BNCLog.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ extern BNCLogFlushFunctionPtr _Nullable BNCLogFlushFunction(void);
extern void BNCLogWriteMessageFormat(
BNCLogLevel logLevel,
const char *_Nullable sourceFileName,
int sourceLineNumber,
int32_t sourceLineNumber,
id _Nullable messageFormat,
...
);
Expand All @@ -140,7 +140,7 @@ extern void BNCLogWriteMessageFormat(
extern void BNCLogWriteMessage(
BNCLogLevel logLevel,
NSString *_Nonnull sourceFileName,
NSUInteger sourceLineNumber,
int32_t sourceLineNumber,
NSString *_Nonnull message
);

Expand Down
4 changes: 4 additions & 0 deletions Branch.framework/Versions/A/Headers/BNCPreferenceHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
@property (strong, atomic) NSArray<NSString*> *URLBlackList;
@property (assign, atomic) NSInteger URLBlackListVersion;

@property (assign, atomic) BOOL trackingDisabled;
- (void) clearTrackingInformation;

+ (BNCPreferenceHelper *)preferenceHelper;

- (NSString *)getAPIBaseURL;
Expand Down Expand Up @@ -88,6 +91,7 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
- (NSDictionary *)getContentAnalyticsManifest;
- (void)saveContentAnalyticsManifest:(NSDictionary *)cdManifest;

- (NSMutableString*) sanitizedMutableBaseURL:(NSString*)baseUrl;
- (void) synchronize; // Flushes preference queue to persistence.

@end
25 changes: 25 additions & 0 deletions Branch.framework/Versions/A/Headers/Branch.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
/// @return Returns the current Branch key.
+ (NSString*) branchKey;

+ (BOOL) branchKeyIsSet;

/**
* By default, the Branch SDK will include the device fingerprint ID as metadata in Crashlytics
* reports. This can help locate problems by correlating API traffic with a crash. To
Expand Down Expand Up @@ -678,6 +680,29 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {

- (void)setInstallRequestDelay:(NSInteger)installRequestDelay;

/**
Disables the Branch SDK from tracking the user. This is useful for GDPR privacy compliance.
When tracking is disabled, the Branch SDK will clear the Branch defaults of user identifying
information and prevent Branch from making any Branch network calls that will track the user.
Note that:
* Opening Branch deep links with an explicit URL will work.
* Deferred deep linking will not work.
* Generating short links will not work and will return long links instead.
* Sending user tracking events such as `userCompletedAction`, `BranchCommerceEvents`, and
`BranchEvents` will fail.
* User rewards and credits will not work.
* Setting a user identity and logging a user identity out will not work.
@param disabled If set to `true` then tracking will be disabled.
@warning This will prevent most of the Branch SDK functionality.
*/
+ (void) setTrackingDisabled:(BOOL)disabled;

///Returns the current tracking state.
+ (BOOL) trackingDisabled;

#pragma mark - Session Item methods

Expand Down
13 changes: 13 additions & 0 deletions Branch.framework/Versions/A/Headers/BranchEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,16 @@ FOUNDATION_EXPORT BranchStandardEvent _Nonnull BranchStandardEventUnlockAchievem
- (NSDictionary*_Nonnull) dictionary; //!< Returns a dictionary representation of the event.
- (NSString* _Nonnull) description; //!< Returns a string description of the event.
@end

#pragma mark - BranchEventRequest

@interface BranchEventRequest : BNCServerRequest <NSCoding>

- (instancetype _Nonnull) initWithServerURL:(NSURL*_Nonnull)serverURL
eventDictionary:(NSDictionary*_Nullable)eventDictionary
completion:(void (^_Nullable)(NSDictionary*_Nullable response, NSError*_Nullable error))completion;

@property (strong) NSDictionary*_Nullable eventDictionary;
@property (strong) NSURL*_Nullable serverURL;
@property (copy) void (^_Nullable completion)(NSDictionary*_Nullable response, NSError*_Nullable error);
@end
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
a9a64a86b6068c564feb9905188c36bfc93f1a71 Branch-iOS-SDK.zip
39ffa1a7ed07fee4370534e2baab39fa26985c21 Branch-iOS-SDK.zip
#checksum for Branch-iOS-TestBed found at https://s3-us-west-1.amazonaws.com/branchhost/Branch-iOS-TestBed.zip
037cc2c49045ebbe2578af27268fa5496a39c7d7 Branch-iOS-TestBed.zip
2c15a83013806369afdb4044d36f196244b4b179 Branch-iOS-TestBed.zip

0 comments on commit a9b11c2

Please sign in to comment.