Skip to content

Commit 4d30ff6

Browse files
authored
Merge pull request #194 from adjust/v4320
Version 4.32.0
2 parents fcf3559 + 4e72019 commit 4d30ff6

32 files changed

+972
-746
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
### Version 4.32.0 (11th October 2022)
2+
#### Added
3+
- Added partner sharing settings to the third party sharing feature.
4+
- Added `getLastDeeplink` getter to `Adjust` API to be able to get last tracked deep link by the SDK (iOS only).
5+
6+
#### Changed
7+
- Switched to adding permission `com.google.android.gms.permission.AD_ID` in the Android app's manifest by default.
8+
9+
#### Fixed
10+
- Fixed Xcode 14 build errors by switching to usage of `React-Core` pod (https://github.com/adjust/react_native_sdk/issues/193).
11+
- Added missing cost data info to attribution getter once invoked on iOS platform.
12+
13+
#### Native SDKs
14+
- [[email protected]][ios_sdk_v4.32.1]
15+
- [[email protected]][android_sdk_v4.32.0]
16+
17+
---
18+
119
### Version 4.31.0 (10th August 2022)
220
#### Added
321
- Added ability to mark your app as COPPA compliant. You can enable this setting by calling `setCoppaCompliantEnabled` method of `AdjustConfig` instance to `true`.
@@ -522,6 +540,7 @@
522540
[ios_sdk_v4.29.5]: https://github.com/adjust/ios_sdk/tree/v4.29.5
523541
[ios_sdk_v4.29.6]: https://github.com/adjust/ios_sdk/tree/v4.29.6
524542
[ios_sdk_v4.31.0]: https://github.com/adjust/ios_sdk/tree/v4.31.0
543+
[ios_sdk_v4.32.1]: https://github.com/adjust/ios_sdk/tree/v4.32.1
525544

526545
[android_sdk_v4.10.4]: https://github.com/adjust/android_sdk/tree/v4.10.4
527546
[android_sdk_v4.11.0]: https://github.com/adjust/android_sdk/tree/v4.11.0
@@ -552,3 +571,4 @@
552571
[android_sdk_v4.28.8]: https://github.com/adjust/android_sdk/tree/v4.28.8
553572
[android_sdk_v4.28.9]: https://github.com/adjust/android_sdk/tree/v4.28.9
554573
[android_sdk_v4.31.0]: https://github.com/adjust/android_sdk/tree/v4.31.0
574+
[android_sdk_v4.32.0]: https://github.com/adjust/android_sdk/tree/v4.32.0

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ compile 'com.android.installreferrer:installreferrer:2.2'
219219
```gradle
220220
allprojects {
221221
repositories {
222-
jcenter()
223222
maven {
224223
url "https://maven.google.com"
225224
}
@@ -256,7 +255,7 @@ As of v4.22.0, the Adjust SDK supports install tracking on Huawei devices with H
256255

257256
### <a id="ios-frameworks"></a>iOS frameworks
258257

259-
Select your project in the Project Navigator. In the left hand side of the main view, select your target. In the tab `Build Phases`, expand the group `Link Binary with Libraries`. On the bottom of that section click on the `+` button. Select below mentined frameworks and make sure to change the `Status` of frameworks to `Optional`. Adjust SDK uses these frameworks with following purpose:
258+
Select your project in the Project Navigator. In the left hand side of the main view, select your target. In the tab `Build Phases`, expand the group `Link Binary with Libraries`. On the bottom of that section click on the `+` button. Select below mentioned frameworks and make sure to change the `Status` of frameworks to `Optional`. Adjust SDK uses these frameworks with following purpose:
260259

261260
* `iAd.framework` - to support Apple Search Ads campaigns
262261
* `AdServices.framework` - to support Apple Search Ads campaigns

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.31.0
1+
4.32.0

android/libs/adjust-android.jar

364 Bytes
Binary file not shown.

android/src/main/java/com/adjust/sdk/Adjust.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,7 @@ public void trackThirdPartySharing(ReadableMap mapThirdPartySharing) {
740740

741741
Boolean isEnabled = null;
742742
List<Object> granularOptions = null;
743+
List<Object> partnerSharingSettings = null;
743744

744745
// Enabled.
745746
if (checkKey(mapThirdPartySharing, "isEnabled")) {
@@ -761,6 +762,19 @@ public void trackThirdPartySharing(ReadableMap mapThirdPartySharing) {
761762
}
762763
}
763764

765+
// Partner sharing settings.
766+
if (checkKey(mapThirdPartySharing, "partnerSharingSettings")) {
767+
partnerSharingSettings = AdjustUtil.toList(mapThirdPartySharing.getArray("partnerSharingSettings"));
768+
if (null != partnerSharingSettings) {
769+
for (int i = 0; i < partnerSharingSettings.size(); i += 3) {
770+
thirdPartySharing.addPartnerSharingSetting(
771+
partnerSharingSettings.get(i).toString(),
772+
partnerSharingSettings.get(i+1).toString(),
773+
Boolean.parseBoolean(partnerSharingSettings.get(i+2).toString()));
774+
}
775+
}
776+
}
777+
764778
// Track third party sharing.
765779
com.adjust.sdk.Adjust.trackThirdPartySharing(thirdPartySharing);
766780
}
@@ -775,6 +789,11 @@ public void checkForNewAttStatus() {
775789
// do nothing
776790
}
777791

792+
@ReactMethod
793+
public void getLastDeeplink(Callback callback) {
794+
callback.invoke("");
795+
}
796+
778797
@ReactMethod
779798
public void setAttributionCallbackListener() {
780799
this.attributionCallback = true;

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.29.6):
3-
- Adjust/Core (= 4.29.6)
4-
- Adjust/Core (4.29.6)
2+
- Adjust (4.32.1):
3+
- Adjust/Core (= 4.32.1)
4+
- Adjust/Core (4.32.1)
55
- boost (1.76.0)
66
- CocoaAsyncSocket (7.6.5)
77
- DoubleConversion (1.1.6)
@@ -287,9 +287,9 @@ PODS:
287287
- React-jsinspector (0.69.4)
288288
- React-logger (0.69.4):
289289
- glog
290-
- react-native-adjust (4.29.6):
291-
- Adjust (= 4.29.6)
292-
- React
290+
- react-native-adjust (4.32.0):
291+
- Adjust (= 4.32.1)
292+
- React-Core
293293
- React-perflogger (0.69.4)
294294
- React-RCTActionSheet (0.69.4):
295295
- React-Core/RCTActionSheetHeaders (= 0.69.4)
@@ -508,7 +508,7 @@ EXTERNAL SOURCES:
508508
:path: "../node_modules/react-native/ReactCommon/yoga"
509509

510510
SPEC CHECKSUMS:
511-
Adjust: 94f1c99429fb2a7ebe530294fd66a88d63a54922
511+
Adjust: 3030e2e086023cb6cadef374b500b6cc263bb9d0
512512
boost: a7c83b31436843459a1961bfd74b96033dc77234
513513
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
514514
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
@@ -541,7 +541,7 @@ SPEC CHECKSUMS:
541541
React-jsiexecutor: a27badbbdbc0ff781813370736a2d1c7261181d4
542542
React-jsinspector: 8a3d3f5dcd23a91e8c80b1bf0e96902cd1dca999
543543
React-logger: 1088859f145b8f6dd0d3ed051a647ef0e3e80fad
544-
react-native-adjust: 8152efdf7a2e94a85ce427f2096b4167f2824273
544+
react-native-adjust: 827d342fbcad3bb5632799d80b006e431132f40d
545545
React-perflogger: cb386fd44c97ec7f8199c04c12b22066b0f2e1e0
546546
React-RCTActionSheet: f803a85e46cf5b4066c2ac5e122447f918e9c6e5
547547
React-RCTAnimation: 19c80fa950ccce7f4db76a2a7f2cf79baae07fc7
@@ -560,4 +560,4 @@ SPEC CHECKSUMS:
560560

561561
PODFILE CHECKSUM: 9e9743fe52beedb026f101e19db1b71cabea428f
562562

563-
COCOAPODS: 1.11.2
563+
COCOAPODS: 1.11.3

0 commit comments

Comments
 (0)