Skip to content

Commit 91be337

Browse files
committed
1.41.0 Release
1 parent 2342900 commit 91be337

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+412
-441
lines changed

Branch-SDK/BNCAppGroupsData.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ NS_ASSUME_NONNULL_BEGIN
1313
@interface BNCAppGroupsData : NSObject
1414

1515
// app group used to share data between the App Clip and the Full App
16-
@property (nonatomic, strong, readwrite) NSString *appGroup;
16+
@property (nonatomic, readwrite, copy) NSString *appGroup;
1717

1818
// App Clip data
19-
@property (nonatomic, strong, readwrite) NSString *bundleID;
19+
@property (nonatomic, readwrite, copy) NSString *bundleID;
2020
@property (nonatomic, strong, readwrite) NSDate *installDate;
21-
@property (nonatomic, strong, readwrite) NSString *url;
22-
@property (nonatomic, strong, readwrite) NSString *branchToken;
23-
@property (nonatomic, strong, readwrite) NSString *bundleToken;
21+
@property (nonatomic, readwrite, copy) NSString *url;
22+
@property (nonatomic, readwrite, copy) NSString *branchToken;
23+
@property (nonatomic, readwrite, copy) NSString *bundleToken;
2424

2525
+ (instancetype)shared;
2626

Branch-SDK/BNCApplication.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,33 +22,33 @@
2222
+ (BNCApplication*_Nonnull) currentApplication;
2323

2424
/// The bundle identifier of the current
25-
@property (atomic, readonly) NSString*_Nullable bundleID;
25+
@property (nonatomic, readonly, copy) NSString*_Nullable bundleID;
2626

2727
/// The bundle display name from the info plist.
28-
@property (atomic, readonly) NSString*_Nullable displayName;
28+
@property (nonatomic, readonly, copy) NSString*_Nullable displayName;
2929

3030
/// The bundle short display name from the info plist.
31-
@property (atomic, readonly) NSString*_Nullable shortDisplayName;
31+
@property (nonatomic, readonly, copy) NSString*_Nullable shortDisplayName;
3232

3333
/// The short version ID as is typically shown to the user, like in iTunes or the app store.
34-
@property (atomic, readonly) NSString*_Nullable displayVersionString;
34+
@property (nonatomic, readonly, copy) NSString*_Nullable displayVersionString;
3535

3636
/// The version ID for developers use.
37-
@property (atomic, readonly) NSString*_Nullable versionString;
37+
@property (nonatomic, readonly, copy) NSString*_Nullable versionString;
3838

3939
/// The creation date of the current executable.
40-
@property (atomic, readonly) NSDate*_Nullable currentBuildDate;
40+
@property (nonatomic, readonly, strong) NSDate*_Nullable currentBuildDate;
4141

4242
/// The creating date of the exectuble the first time it was recorded by Branch.
43-
@property (atomic, readonly) NSDate*_Nullable firstInstallBuildDate;
43+
@property (nonatomic, readonly, strong) NSDate*_Nullable firstInstallBuildDate;
4444

4545
/// The date this app was installed on this device.
46-
@property (atomic, readonly) NSDate*_Nullable currentInstallDate;
46+
@property (nonatomic, readonly, strong) NSDate*_Nullable currentInstallDate;
4747

4848
/// The date this app was first installed on this device.
49-
@property (atomic, readonly) NSDate*_Nullable firstInstallDate;
49+
@property (nonatomic, readonly, strong) NSDate*_Nullable firstInstallDate;
5050

5151
/// The team identifier for the app.
52-
@property (atomic, readonly) NSString*_Nullable teamID;
52+
@property (nonatomic, readonly, copy) NSString*_Nullable teamID;
5353

5454
@end

Branch-SDK/BNCCommerceEvent.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -239,26 +239,26 @@ NSArray<BNCCurrency>*_Nonnull BNCCurrencyAllCurrencies(void);
239239
#pragma mark - BNCProduct
240240

241241
@interface BNCProduct : NSObject
242-
@property (nonatomic, strong) NSString*_Nullable sku;
243-
@property (nonatomic, strong) NSString*_Nullable name;
242+
@property (nonatomic, copy) NSString*_Nullable sku;
243+
@property (nonatomic, copy) NSString*_Nullable name;
244244
@property (nonatomic, strong) NSDecimalNumber*_Nullable price;
245245
@property (nonatomic, strong) NSNumber*_Nullable quantity;
246-
@property (nonatomic, strong) NSString*_Nullable brand;
247-
@property (nonatomic, strong) BNCProductCategory _Nullable category;
248-
@property (nonatomic, strong) NSString*_Nullable variant;
246+
@property (nonatomic, copy) NSString*_Nullable brand;
247+
@property (nonatomic, copy) BNCProductCategory _Nullable category;
248+
@property (nonatomic, copy) NSString*_Nullable variant;
249249
@end
250250

251251
#pragma mark - BNCCommerceEvent
252252

253253
//__attribute__((deprecated(("Please use BranchEvent to track commerce events."))))
254254
@interface BNCCommerceEvent : NSObject
255255
@property (nonatomic, strong) NSDecimalNumber*_Nullable revenue;
256-
@property (nonatomic, strong) BNCCurrency _Nullable currency;
257-
@property (nonatomic, strong) NSString*_Nullable transactionID;
256+
@property (nonatomic, copy) BNCCurrency _Nullable currency;
257+
@property (nonatomic, copy) NSString*_Nullable transactionID;
258258
@property (nonatomic, strong) NSDecimalNumber*_Nullable shipping;
259259
@property (nonatomic, strong) NSDecimalNumber*_Nullable tax;
260-
@property (nonatomic, strong) NSString*_Nullable coupon;
261-
@property (nonatomic, strong) NSString*_Nullable affiliation;
260+
@property (nonatomic, copy) NSString*_Nullable coupon;
261+
@property (nonatomic, copy) NSString*_Nullable affiliation;
262262
@property (nonatomic, strong) NSArray<BNCProduct*>*_Nullable products;
263263
@end
264264

Branch-SDK/BNCConfig.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
NSString * const BNC_API_BASE_URL = @"https://api2.branch.io";
1212
NSString * const BNC_API_VERSION = @"v1";
1313
NSString * const BNC_LINK_URL = @"https://bnc.lt";
14-
NSString * const BNC_SDK_VERSION = @"1.40.2";
14+
NSString * const BNC_SDK_VERSION = @"1.41.0";

Branch-SDK/BNCDeepLinkViewControllerInstance.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010

1111
@interface BNCDeepLinkViewControllerInstance : NSObject
1212
@property (strong, nonatomic)UIViewController<BranchDeepLinkingController>* viewController;
13-
@property (assign)BNCViewControllerPresentationOption option;
13+
@property (nonatomic, assign)BNCViewControllerPresentationOption option;
1414
@end

Branch-SDK/BNCDeviceSystem.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ NS_ASSUME_NONNULL_BEGIN
2323

2424
// CPU type information
2525
// See mach/machine.h for details
26-
@property (nonatomic, copy, readwrite) NSNumber *cpuType;
27-
@property (nonatomic, copy, readwrite) NSNumber *cpuSubType;
26+
@property (nonatomic, strong, readwrite) NSNumber *cpuType;
27+
@property (nonatomic, strong, readwrite) NSNumber *cpuSubType;
2828

2929
@end
3030

Branch-SDK/BNCEncodingUtils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ extern NSString* BNCWireFormatFromString(NSString *string);
2828
+ (BNCKeyValue*) key:(NSString*)key value:(NSString*)value;
2929
- (NSString*) description;
3030

31-
@property (nonatomic, strong) NSString* key;
32-
@property (nonatomic, strong) NSString* value;
31+
@property (nonatomic, copy) NSString* key;
32+
@property (nonatomic, copy) NSString* value;
3333

3434
@end
3535

Branch-SDK/BNCLinkData.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414

1515
@interface BNCLinkData ()
1616
@property (strong, nonatomic) NSArray *tags;
17-
@property (strong, nonatomic) NSString *alias;
18-
@property (strong, nonatomic) NSString *channel;
19-
@property (strong, nonatomic) NSString *feature;
20-
@property (strong, nonatomic) NSString *stage;
21-
@property (strong, nonatomic) NSString *campaign;
17+
@property (copy, nonatomic) NSString *alias;
18+
@property (copy, nonatomic) NSString *channel;
19+
@property (copy, nonatomic) NSString *feature;
20+
@property (copy, nonatomic) NSString *stage;
21+
@property (copy, nonatomic) NSString *campaign;
2222
@property (strong, nonatomic) NSDictionary *params;
23-
@property (strong, nonatomic) NSString *ignoreUAString;
23+
@property (copy, nonatomic) NSString *ignoreUAString;
2424
@property (assign, nonatomic) BranchLinkType type;
2525
@property (assign, nonatomic) NSUInteger duration;
2626
@end

Branch-SDK/BNCNetworkService.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
#pragma mark BNCNetworkOperation
1919

2020
@interface BNCNetworkOperation : NSObject <BNCNetworkOperationProtocol>
21-
@property (readonly, copy) NSURLRequest *request;
22-
@property (readonly, copy) NSHTTPURLResponse *response;
23-
@property (readonly, strong) NSData *responseData;
24-
@property (readonly, copy) NSError *error;
25-
@property (readonly, copy) NSDate *startDate;
26-
@property (readonly, copy) NSDate *timeoutDate;
27-
@property (strong) NSDictionary *userInfo;
21+
@property (nonatomic, readonly, copy) NSURLRequest *request;
22+
@property (nonatomic, readonly, copy) NSHTTPURLResponse *response;
23+
@property (nonatomic, readonly, strong) NSData *responseData;
24+
@property (nonatomic, readonly, copy) NSError *error;
25+
@property (nonatomic, readonly, copy) NSDate *startDate;
26+
@property (nonatomic, readonly, copy) NSDate *timeoutDate;
27+
@property (nonatomic, strong) NSDictionary *userInfo;
2828

2929
- (void) start;
3030
- (void) cancel;
@@ -40,5 +40,5 @@
4040
- (BNCNetworkOperation*) networkOperationWithURLRequest:(NSMutableURLRequest*)request
4141
completion:(void (^)(id<BNCNetworkOperationProtocol>operation))completion;
4242

43-
@property (strong) NSDictionary *userInfo;
43+
@property (strong, nonatomic) NSDictionary *userInfo;
4444
@end

Branch-SDK/BNCNetworkServiceProtocol.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,34 +46,34 @@
4646

4747
/// The initial NSMutableURLRequest.
4848
@required
49-
@property (readonly, copy) NSURLRequest *request;
49+
@property (nonatomic, readonly, copy) NSURLRequest *request;
5050

5151
/// The response from the server.
5252
@required
53-
@property (readonly, copy) NSHTTPURLResponse *response;
53+
@property (nonatomic, readonly, copy) NSHTTPURLResponse *response;
5454

5555
/// The data from the server.
5656
@required
57-
@property (readonly, strong) NSData *responseData;
57+
@property (nonatomic, readonly, strong) NSData *responseData;
5858

5959
/// Any errors that occurred during the request.
6060
@required
61-
@property (readonly, copy) NSError *error;
61+
@property (nonatomic, readonly, copy) NSError *error;
6262

6363
/// The original start date of the operation. This should be set by the network service provider
6464
/// when the operation is started.
6565
@required
66-
@property (readonly, copy) NSDate *startDate;
66+
@property (nonatomic, readonly, copy) NSDate *startDate;
6767

6868
/// The timeout date for the operation. This is calculated and set by the underlying network service
6969
/// provider by taking the original start date and adding the timeout interval of the URL request.
7070
/// It should be set once (and not recalculated for each retry) by the network service.
7171
@required
72-
@property (readonly, copy) NSDate *timeoutDate;
72+
@property (nonatomic, readonly, copy) NSDate *timeoutDate;
7373

7474
/// A dictionary for the Branch SDK to store operation user info.
7575
@required
76-
@property (strong) NSDictionary *userInfo;
76+
@property (nonatomic, strong) NSDictionary *userInfo;
7777

7878
/// Starts the network operation.
7979
@required
@@ -109,7 +109,7 @@
109109

110110
/// A dictionary for the Branch SDK to store operation user info.
111111
@required
112-
@property (strong) NSDictionary *userInfo;
112+
@property (nonatomic, strong) NSDictionary *userInfo;
113113

114114
/// Pins the session to the array of public keys.
115115
@optional

0 commit comments

Comments
 (0)