Skip to content

Commit 0ebd22e

Browse files
authored
Merge pull request #119 from adjust/v4280
Version 4.28.0
2 parents 09882f1 + abab898 commit 0ebd22e

35 files changed

+1453
-1576
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
### Version 4.28.0 (1th April 2021)
2+
#### Changed
3+
- Removed native iOS legacy code.
4+
5+
#### Native SDKs
6+
- [[email protected]][ios_sdk_v4.28.0]
7+
- [[email protected]][android_sdk_v4.27.0]
8+
9+
---
10+
111
### Version 4.26.0 (18th February 2021)
212
#### Added
313
- Added possibility to get cost data information in attribution callback.
@@ -400,6 +410,7 @@
400410
[ios_sdk_v4.23.0]: https://github.com/adjust/ios_sdk/tree/v4.23.0
401411
[ios_sdk_v4.23.2]: https://github.com/adjust/ios_sdk/tree/v4.23.2
402412
[ios_sdk_v4.26.1]: https://github.com/adjust/ios_sdk/tree/v4.26.1
413+
[ios_sdk_v4.28.0]: https://github.com/adjust/ios_sdk/tree/v4.28.0
403414

404415
[android_sdk_v4.10.4]: https://github.com/adjust/android_sdk/tree/v4.10.4
405416
[android_sdk_v4.11.0]: https://github.com/adjust/android_sdk/tree/v4.11.0
@@ -423,3 +434,4 @@
423434
[android_sdk_v4.24.0]: https://github.com/adjust/android_sdk/tree/v4.24.0
424435
[android_sdk_v4.24.1]: https://github.com/adjust/android_sdk/tree/v4.24.1
425436
[android_sdk_v4.26.2]: https://github.com/adjust/android_sdk/tree/v4.26.2
437+
[android_sdk_v4.27.0]: https://github.com/adjust/android_sdk/tree/v4.27.0

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.26.0
1+
4.28.0

android/libs/adjust-android.jar

2.86 KB
Binary file not shown.

example/ios/Podfile.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PODS:
2-
- Adjust (4.26.1):
3-
- Adjust/Core (= 4.26.1)
4-
- Adjust/Core (4.26.1)
2+
- Adjust (4.28.0):
3+
- Adjust/Core (= 4.28.0)
4+
- Adjust/Core (4.28.0)
55
- boost-for-react-native (1.63.0)
66
- DoubleConversion (1.1.6)
77
- EXApplication (2.4.1):
@@ -227,8 +227,8 @@ PODS:
227227
- React-cxxreact (= 0.63.4)
228228
- React-jsi (= 0.63.4)
229229
- React-jsinspector (0.63.4)
230-
- react-native-adjust (4.26.0):
231-
- Adjust (= 4.26.1)
230+
- react-native-adjust (4.28.0):
231+
- Adjust (= 4.28.0)
232232
- React
233233
- React-RCTActionSheet (0.63.4):
234234
- React-Core/RCTActionSheetHeaders (= 0.63.4)
@@ -292,7 +292,7 @@ PODS:
292292
- React-jsi (= 0.63.4)
293293
- RNGestureHandler (1.8.0):
294294
- React
295-
- RNReanimated (1.13.2):
295+
- RNReanimated (1.13.3):
296296
- React-Core
297297
- RNScreens (2.15.2):
298298
- React-Core
@@ -498,7 +498,7 @@ EXTERNAL SOURCES:
498498
:path: "../node_modules/react-native/ReactCommon/yoga"
499499

500500
SPEC CHECKSUMS:
501-
Adjust: e8f9b8b50b3d234923389f8e0077ce911cf502d8
501+
Adjust: 131c77905f67b26e946d1b831fad20ed2b41134c
502502
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
503503
DoubleConversion: cde416483dac037923206447da6e1454df403714
504504
EXApplication: e3c201e7b913d081bbd37bd3c5d0e2cdc21733b4
@@ -529,7 +529,7 @@ SPEC CHECKSUMS:
529529
React-jsi: a0418934cf48f25b485631deb27c64dc40fb4c31
530530
React-jsiexecutor: 93bd528844ad21dc07aab1c67cb10abae6df6949
531531
React-jsinspector: 58aef7155bc9a9683f5b60b35eccea8722a4f53a
532-
react-native-adjust: 26e155ca69b538c5c881610c37f85fc1ce1ffd09
532+
react-native-adjust: ffd658e43e26a7bf619554dc359a62b25bd01bf6
533533
React-RCTActionSheet: 89a0ca9f4a06c1f93c26067af074ccdce0f40336
534534
React-RCTAnimation: 1bde3ecc0c104c55df246eda516e0deb03c4e49b
535535
React-RCTBlob: a97d378b527740cc667e03ebfa183a75231ab0f0
@@ -541,7 +541,7 @@ SPEC CHECKSUMS:
541541
React-RCTVibration: ae4f914cfe8de7d4de95ae1ea6cc8f6315d73d9d
542542
ReactCommon: 73d79c7039f473b76db6ff7c6b159c478acbbb3b
543543
RNGestureHandler: 7a5833d0f788dbd107fbb913e09aa0c1ff333c39
544-
RNReanimated: e03f7425cb7a38dcf1b644d680d1bfc91c3337ad
544+
RNReanimated: 514a11da3a2bcc6c3dfd9de32b38e2b9bf101926
545545
RNScreens: 3d682bcaba69a4f8e55543d90818704f34338db1
546546
UMAppLoader: 92d044af52626af3d81a69796ad666fc7a9a7d78
547547
UMBarCodeScannerInterface: 3f6c1b09ef4b867ce752b8c0b3893bcf9cd85f32

example/yarn.lock

Lines changed: 654 additions & 595 deletions
Large diffs are not rendered by default.

ext/android/sdk

Submodule sdk updated 36 files

ext/ios/sdk

Submodule sdk updated 47 files

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Adjust.getAmazonAdId = function(callback) {
126126
};
127127

128128
Adjust.getSdkVersion = function(callback) {
129-
module_adjust.getSdkVersion("react-native4.26.0", callback);
129+
module_adjust.getSdkVersion("react-native4.28.0", callback);
130130
};
131131

132132
Adjust.setReferrer = function(referrer) {
@@ -228,7 +228,7 @@ Adjust.onPause = function(testParam) {
228228
// AdjustConfig
229229

230230
var AdjustConfig = function(appToken, environment) {
231-
this.sdkPrefix = "react-native4.26.0";
231+
this.sdkPrefix = "react-native4.28.0";
232232
this.appToken = appToken;
233233
this.environment = environment;
234234
this.logLevel = null;

ios/Adjust/ADJActivityHandler.m

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,9 +1725,11 @@ - (BOOL)shouldFetchAdServicesI:(ADJActivityHandler *)selfI {
17251725
- (void)checkForAdServicesAttributionI:(ADJActivityHandler *)selfI {
17261726
if (@available(iOS 14.3, tvOS 14.3, *)) {
17271727
if ([selfI shouldFetchAdServicesI:selfI]) {
1728-
NSError *error = nil;
1729-
NSString *token = [[UIDevice currentDevice] adjFetchAdServicesAttribution:&error];
1730-
[selfI setAdServicesAttributionToken:token error:error];
1728+
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
1729+
NSError *error = nil;
1730+
NSString *token = [[UIDevice currentDevice] adjFetchAdServicesAttribution:&error];
1731+
[selfI setAdServicesAttributionToken:token error:error];
1732+
});
17311733
}
17321734
}
17331735
}

ios/Adjust/ADJActivityState.m

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// Copyright (c) 2013 adjust GmbH. All rights reserved.
77
//
88

9-
#import "ADJKeychain.h"
109
#import "ADJAdjustFactory.h"
1110
#import "ADJActivityState.h"
1211
#import "UIDevice+ADJAdditions.h"
@@ -84,26 +83,7 @@ - (BOOL)findTransactionId:(NSString *)transactionId {
8483
#pragma mark - Private & helper methods
8584

8685
- (void)assignUuid:(NSString *)uuid {
87-
NSString *persistedUuid = [ADJKeychain valueForKeychainKey:@"adjust_uuid" service:@"deviceInfo"];
88-
89-
// Check if value exists in Keychain.
90-
if (persistedUuid != nil) {
91-
// Check if value has UUID format.
92-
if ((bool)[[NSUUID alloc] initWithUUIDString:persistedUuid]) {
93-
[[ADJAdjustFactory logger] verbose:@"Value read from the keychain"];
94-
95-
// Value written in keychain seems to have UUID format.
96-
self.uuid = persistedUuid;
97-
self.isPersisted = YES;
98-
return;
99-
}
100-
}
101-
102-
// At this point, UUID was not persisted in Keychain or if persisted, didn't have proper UUID format.
103-
// Since we don't have anything in the keychain, we'll use the passed UUID value.
104-
// Try to save that value to the keychain.
10586
self.uuid = uuid;
106-
self.isPersisted = [ADJKeychain setValue:self.uuid forKeychainKey:@"adjust_uuid" inService:@"deviceInfo"];
10787
}
10888

10989
- (NSString *)description {

0 commit comments

Comments
 (0)