Skip to content

Commit c8b0bb7

Browse files
author
Edward Smith
committed
Merge branch 'master' of github.com:BranchMetrics/ios-branch-deep-linking into staging
2 parents 8fff4f0 + 962eb2f commit c8b0bb7

File tree

11 files changed

+23
-25
lines changed

11 files changed

+23
-25
lines changed

Branch-SDK/Branch-SDK/BNCAvailability.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,3 @@ typedef NSString * UIApplicationOpenURLOptionsKey;
2323
#ifndef NS_STRING_ENUM
2424
#define NS_STRING_ENUM
2525
#endif
26-
27-
@interface NSLocale (BranchAvailability)
28-
- (NSString*) countryCode;
29-
- (NSString*) languageCode;
30-
@end

Branch-SDK/Branch-SDK/BNCDeviceInfo.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
#import <arpa/inet.h>
2626
#import <netinet/in.h>
2727

28+
// Forward declare this for older versions of iOS
29+
@interface NSLocale (BranchAvailability)
30+
- (NSString*) countryCode;
31+
- (NSString*) languageCode;
32+
@end
33+
2834
#pragma mark BRNNetworkInfo
2935

3036
typedef NS_ENUM(NSInteger, BNCNetworkAddressType) {

Branch-TestBed/Branch-TestBed/ViewController.m

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,11 @@ - (void) sendV2EventWithName:(NSString*)eventName {
423423
buo.contentMetadata.latitude = 12.07;
424424
buo.contentMetadata.longitude = -97.5;
425425
buo.contentMetadata.imageCaptions = (id) @[@"my_img_caption1", @"my_img_caption_2"];
426-
buo.contentMetadata.customMetadata = (id) @{@"Custom_Content_metadata_key1": @"Custom_Content_metadata_val1"};
427-
buo.title = @"My Content Title";
426+
buo.contentMetadata.customMetadata = (id) @{
427+
@"Custom_Content_metadata_key1": @"Custom_Content_metadata_val1",
428+
@"~campaign": @"Parul's campaign"
429+
};
430+
buo.title = @"Parul Title";
428431
buo.canonicalIdentifier = @"item/12345";
429432
buo.canonicalUrl = @"https://branch.io/deepviews";
430433
buo.keywords = @[@"My_Keyword1", @"My_Keyword2"];

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.21.14</string>
20+
<string>0.21.16</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>0.21.14</string>
24+
<string>0.21.16</string>
2525
<key>LSRequiresIPhoneOS</key>
2626
<true/>
2727
<key>NSHumanReadableCopyright</key>

Branch.framework/Versions/A/Branch

-20.7 KB
Binary file not shown.

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,3 @@ typedef NSString * UIApplicationOpenURLOptionsKey;
2323
#ifndef NS_STRING_ENUM
2424
#define NS_STRING_ENUM
2525
#endif
26-
27-
@interface NSLocale (BranchAvailability)
28-
- (NSString*) countryCode;
29-
- (NSString*) languageCode;
30-
@end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ NSURL* /* _Nonnull */ BNCURLForBranchDirectory(void);
4848
@property (strong, nonatomic) NSString *browserUserAgentString;
4949
@property (strong, atomic) NSString *referringURL;
5050
@property (strong, atomic) NSString *branchAPIURL;
51+
@property (assign, atomic) BOOL limitFacebookTracking;
5152

5253
+ (BNCPreferenceHelper *)preferenceHelper;
5354

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ extern NSString * const BNCCanonicalIdList;
124124
extern NSString * const BNCPurchaseAmount;
125125
extern NSString * const BNCPurchaseCurrency;
126126
extern NSString * const BNCCanonicalIdList;
127-
extern NSString * const BNCPurchaseAmount;
128127
extern NSString * const BNCRegisterViewEvent;
129128
extern NSString * const BNCAddToWishlistEvent;
130129
extern NSString * const BNCAddToCartEvent;

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,14 +239,11 @@ FOUNDATION_EXPORT BranchCondition _Nonnull BranchConditionRefurbished;
239239

240240
- (void)removeFromSpotlightWithCallback:(void (^_Nullable)(NSError * _Nullable error))completion;
241241

242-
/// Convenience method for initSession methods that return BranchUniversalObject, but can be used safely by anyone.
243-
+ (nonnull BranchUniversalObject *)getBranchUniversalObjectFromDictionary:(nonnull NSDictionary *)dictionary;
244-
245-
- (NSDictionary*_Nonnull)getParamsForServerRequest;
246242
- (NSDictionary*_Nonnull)getDictionaryWithCompleteLinkProperties:(BranchLinkProperties*_Nonnull)linkProperties;
247243
- (NSDictionary*_Nonnull)getParamsForServerRequestWithAddedLinkProperties:(BranchLinkProperties*_Nonnull)linkProperties;
248244

249-
- (NSDictionary*_Nonnull) dictionary;
245+
/// Convenience method for initSession methods that return BranchUniversalObject, but can be used safely by anyone.
246+
- (NSMutableDictionary*_Nonnull) dictionary;
250247
+ (BranchUniversalObject*_Nonnull) objectWithDictionary:(NSDictionary*_Null_unspecified)dictionary;
251248

252249
- (NSString*_Nonnull) description;

ChangeLog.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ Branch iOS SDK Change Log
22

33
- v0.21.16
44
* _*Master Release*_ - December 18, 2017
5-
* Fixed the BranchUniversalObject for v2-events & Updated the UITestBed. (#768)
6-
* Fix update / install tracking when app installed but not run for a while. (#763)
7-
* Added some code for Will's AppsFlyer integration. (#767)
5+
* Fixed the BranchUniversalObject for v2-events & updated the UITestBed. (#768)
6+
* Fixed update / install tracking when app installed but not run for a while. (#763)
7+
* Added some code for Will's AppsFlyer integration in the Swift test bed. (#767)
88
* Added `limit_facebook_tracking` to allow developers to opt-out of Facebook app tracking (AIS-417).
9+
* Moved the forward declaration of `[NSLocal countryCode]` so that it doesn't interfere with
10+
newer Swift compilations.
911

1012
- v0.21.14
1113
* _*Master Release*_ - December 8, 2017

0 commit comments

Comments
 (0)