File tree Expand file tree Collapse file tree 11 files changed +23
-25
lines changed
Branch-TestBed/Branch-TestBed Expand file tree Collapse file tree 11 files changed +23
-25
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
3036typedef NS_ENUM (NSInteger , BNCNetworkAddressType) {
Original file line number Diff line number Diff 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" ];
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -124,7 +124,6 @@ extern NSString * const BNCCanonicalIdList;
124124extern NSString * const BNCPurchaseAmount;
125125extern NSString * const BNCPurchaseCurrency;
126126extern NSString * const BNCCanonicalIdList;
127- extern NSString * const BNCPurchaseAmount;
128127extern NSString * const BNCRegisterViewEvent;
129128extern NSString * const BNCAddToWishlistEvent;
130129extern NSString * const BNCAddToCartEvent;
Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments