Skip to content

Commit f4b74e1

Browse files
author
Edward Smith
committed
Updates for 0.12.24 release.
1 parent 6ff3fcb commit f4b74e1

File tree

9 files changed

+83
-7
lines changed

9 files changed

+83
-7
lines changed

Branch-SDK/Branch-SDK/BNCConfig.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313

1414
NSString * const BNC_API_VERSION = @"v1";
1515
NSString * const BNC_LINK_URL = @"https://bnc.lt";
16-
NSString * const BNC_SDK_VERSION = @"0.12.23";
16+
NSString * const BNC_SDK_VERSION = @"0.12.24";

Branch.framework.zip

916 Bytes
Binary file not shown.

Branch.framework/Versions/A/Branch

0 Bytes
Binary file not shown.
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
//
2+
// BNCCommerceEvent.h
3+
// BranchSDK-iOS
4+
//
5+
// Created by Edward Smith on 12/14/16.
6+
// Copyright (c) 2016 Branch Metrics. All rights reserved.
7+
//
8+
9+
10+
#import <Foundation/Foundation.h>
11+
#import "BNCServerRequest.h"
12+
13+
14+
#pragma mark BNCProductCategory
15+
16+
typedef NSString*const BNCProductCategory;
17+
18+
extern BNCProductCategory BNCProductCategoryAnimalSupplies;
19+
extern BNCProductCategory BNCProductCategoryApparel;
20+
extern BNCProductCategory BNCProductCategoryArtsEntertainment;
21+
extern BNCProductCategory BNCProductCategoryBabyToddler;
22+
extern BNCProductCategory BNCProductCategoryBusinessIndustrial;
23+
extern BNCProductCategory BNCProductCategoryCamerasOptics;
24+
extern BNCProductCategory BNCProductCategoryElectronics;
25+
extern BNCProductCategory BNCProductCategoryFoodBeverageTobacco;
26+
extern BNCProductCategory BNCProductCategoryFurniture;
27+
extern BNCProductCategory BNCProductCategoryHardware;
28+
extern BNCProductCategory BNCProductCategoryHealthBeauty;
29+
extern BNCProductCategory BNCProductCategoryHomeGarden;
30+
extern BNCProductCategory BNCProductCategoryLuggageBags;
31+
extern BNCProductCategory BNCProductCategoryMature;
32+
extern BNCProductCategory BNCProductCategoryMedia;
33+
extern BNCProductCategory BNCProductCategoryOfficeSupplies;
34+
extern BNCProductCategory BNCProductCategoryReligious;
35+
extern BNCProductCategory BNCProductCategorySoftware;
36+
extern BNCProductCategory BNCProductCategorySportingGoods;
37+
extern BNCProductCategory BNCProductCategoryToysGames;
38+
extern BNCProductCategory BNCProductCategoryVehiclesParts;
39+
40+
#pragma mark - BNCProduct
41+
42+
@interface BNCProduct : NSObject
43+
@property (nonatomic, strong) NSString *sku;
44+
@property (nonatomic, strong) NSString *name;
45+
@property (nonatomic, strong) NSDecimalNumber *price;
46+
@property (nonatomic, strong) NSNumber *quantity;
47+
@property (nonatomic, strong) NSString *brand;
48+
@property (nonatomic, strong) BNCProductCategory category;
49+
@property (nonatomic, strong) NSString *variant;
50+
@end
51+
52+
#pragma mark - BNCCommerceEvent
53+
54+
@interface BNCCommerceEvent : NSObject
55+
@property (nonatomic, strong) NSDecimalNumber *revenue;
56+
@property (nonatomic, strong) NSString *currency;
57+
@property (nonatomic, strong) NSString *transactionID;
58+
@property (nonatomic, strong) NSDecimalNumber *shipping;
59+
@property (nonatomic, strong) NSDecimalNumber *tax;
60+
@property (nonatomic, strong) NSString *coupon;
61+
@property (nonatomic, strong) NSString *affiliation;
62+
@property (nonatomic, strong) NSArray<BNCProduct*> *products;
63+
@end
64+
65+
66+
@interface BranchCommerceEventRequest : BNCServerRequest <NSCoding>
67+
68+
- (instancetype) initWithCommerceEvent:(BNCCommerceEvent*)commerceEvent
69+
metadata:(NSDictionary*)dictionary
70+
completion:(void (^)(NSDictionary* response, NSError* error))callBack;
71+
72+
@end

Branch.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Branch"
3-
s.version = "0.12.23"
3+
s.version = "0.12.24"
44
s.summary = "Create an HTTP URL for any piece of content in your app"
55
s.description = <<-DESC
66
- Want the highest possible conversions on your sharing feature?

ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
Branch iOS SDK Change Log
22

3+
- v0.12.24
4+
* Updated Fabric files.
5+
* Made the release script more robust.
6+
37
- v0.12.23
48
* Updated the public headers for Carthage to include BNCCommerceEvent.h.
59

carthage-files/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.12.23</string>
18+
<string>0.12.24</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>0.12.23</string>
22+
<string>0.12.24</string>
2323
<key>NSPrincipalClass</key>
2424
<string></string>
2525
</dict>

checksum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#checksum for Branch-iOS-SDK found at https://s3-us-west-1.amazonaws.com/branchhost/Branch-iOS-SDK.zip
2-
f5bac443a97a51695a3a3d9335c69fd278d25d90 Branch-iOS-SDK.zip
2+
c203149de22fa437c7654c03833de3b9f5e9ac80 Branch-iOS-SDK.zip
33
#checksum for Branch-iOS-TestBed found at https://s3-us-west-1.amazonaws.com/branchhost/Branch-iOS-TestBed.zip
4-
ec9282a54967429e930c1080fdcb1c95c25d6c29 Branch-iOS-TestBed.zip
4+
e9a46f3859f8d3a99702de79acfb874abc305332 Branch-iOS-TestBed.zip

scripts/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Options:
3131
USAGE
3232
}
3333

34-
version=0.12.23
34+
version=0.12.24
3535

3636
if (( $# == 0 )); then
3737
echo $version

0 commit comments

Comments
 (0)