Skip to content

Commit f12afb7

Browse files
authored
Merge pull request #94 from adjust/v4320
Version 4.32.0
2 parents e16630d + 10a341b commit f12afb7

File tree

22 files changed

+136
-25
lines changed

22 files changed

+136
-25
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
### Version 4.32.0 (7th 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 for iOS platform.
5+
6+
#### Changed
7+
- Switched to adding permission `com.google.android.gms.permission.AD_ID` in the Android app's mainfest by default.
8+
9+
#### Native SDKs
10+
- [[email protected]][ios_sdk_v4.32.1]
11+
- [[email protected]][android_sdk_v4.32.0]
12+
13+
---
14+
115
### Version 4.31.0 (3rd August 2022)
216
#### Added
317
- Added support for `LinkMe` feature.
@@ -286,6 +300,7 @@
286300
[ios_sdk_v4.29.7]: https://github.com/adjust/ios_sdk/tree/v4.29.7
287301
[ios_sdk_v4.30.0]: https://github.com/adjust/ios_sdk/tree/v4.30.0
288302
[ios_sdk_v4.31.0]: https://github.com/adjust/ios_sdk/tree/v4.31.0
303+
[ios_sdk_v4.32.1]: https://github.com/adjust/ios_sdk/tree/v4.32.1
289304

290305
[android_sdk_v4.17.0]: https://github.com/adjust/android_sdk/tree/v4.17.0
291306
[android_sdk_v4.18.0]: https://github.com/adjust/android_sdk/tree/v4.18.0
@@ -299,3 +314,4 @@
299314
[android_sdk_v4.28.5]: https://github.com/adjust/android_sdk/tree/v4.28.5
300315
[android_sdk_v4.30.1]: https://github.com/adjust/android_sdk/tree/v4.30.1
301316
[android_sdk_v4.31.0]: https://github.com/adjust/android_sdk/tree/v4.31.0
317+
[android_sdk_v4.32.0]: https://github.com/adjust/android_sdk/tree/v4.32.0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ You can add Adjust SDK to your Flutter app by adding following to your `pubspec.
104104

105105
```yaml
106106
dependencies:
107-
adjust_sdk: ^4.31.0
107+
adjust_sdk: ^4.32.0
108108
```
109109
110110
Then navigate to your project in the terminal and run:
@@ -301,7 +301,7 @@ class MainScreenState extends State<MainScreen> with WidgetsBindingObserver {
301301
case AppLifecycleState.paused:
302302
Adjust.onPause();
303303
break;
304-
case AppLifecycleState.suspending:
304+
case AppLifecycleState.detached:
305305
break;
306306
}
307307
}

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/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ android {
3636
}
3737

3838
dependencies {
39-
api 'com.adjust.sdk:adjust-android:4.31.0'
39+
api 'com.adjust.sdk:adjust-android:4.32.0'
4040
}

android/src/main/java/com/adjust/sdk/flutter/AdjustSdk.java

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,12 @@ public void onMethodCall(MethodCall call, final Result result) {
198198
case "checkForNewAttStatus":
199199
checkForNewAttStatus(call, result);
200200
break;
201+
case "getAppTrackingAuthorizationStatus":
202+
getAppTrackingAuthorizationStatus(call, result);
203+
break;
204+
case "getLastDeeplink":
205+
getLastDeeplink(call, result);
206+
break;
201207
case "setTestOptions":
202208
setTestOptions(call, result);
203209
break;
@@ -1055,6 +1061,18 @@ private void trackThirdPartySharing(final MethodCall call, final Result result)
10551061
}
10561062
}
10571063

1064+
// Partner sharing settings.
1065+
if (thirdPartySharingMap.containsKey("partnerSharingSettings")) {
1066+
String strPartnerSharingSettings = (String) thirdPartySharingMap.get("partnerSharingSettings");
1067+
String[] arrayPartnerSharingSettings = strPartnerSharingSettings.split("__ADJ__", -1);
1068+
for (int i = 0; i < arrayPartnerSharingSettings.length; i += 3) {
1069+
thirdPartySharing.addPartnerSharingSetting(
1070+
arrayPartnerSharingSettings[i],
1071+
arrayPartnerSharingSettings[i+1],
1072+
Boolean.parseBoolean(arrayPartnerSharingSettings[i+2]));
1073+
}
1074+
}
1075+
10581076
// Track third party sharing.
10591077
Adjust.trackThirdPartySharing(thirdPartySharing);
10601078
result.success(null);
@@ -1076,6 +1094,14 @@ private void checkForNewAttStatus(final MethodCall call, final Result result) {
10761094
result.success("Error. No checkForNewAttStatus for Android platform!");
10771095
}
10781096

1097+
private void getAppTrackingAuthorizationStatus(final MethodCall call, final Result result) {
1098+
result.success("Error. No getAppTrackingAuthorizationStatus for Android platform!");
1099+
}
1100+
1101+
private void getLastDeeplink(final MethodCall call, final Result result) {
1102+
result.success("Error. No getLastDeeplink for Android platform!");
1103+
}
1104+
10791105
private void setTestOptions(final MethodCall call, final Result result) {
10801106
AdjustTestOptions testOptions = new AdjustTestOptions();
10811107
Map testOptionsMap = (Map) call.arguments;

example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>9.0</string>
24+
<string>11.0</string>
2525
</dict>
2626
</plist>

example/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '9.0'
2+
platform :ios, '11.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
97C146E61CF9000F007C117D /* Project object */ = {
180180
isa = PBXProject;
181181
attributes = {
182-
LastUpgradeCheck = 1240;
182+
LastUpgradeCheck = 1300;
183183
ORGANIZATIONNAME = "";
184184
TargetAttributes = {
185185
97C146ED1CF9000F007C117D = {
@@ -364,7 +364,7 @@
364364
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
365365
GCC_WARN_UNUSED_FUNCTION = YES;
366366
GCC_WARN_UNUSED_VARIABLE = YES;
367-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
367+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
368368
MTL_ENABLE_DEBUG_INFO = NO;
369369
SDKROOT = iphoneos;
370370
SUPPORTED_PLATFORMS = iphoneos;
@@ -451,7 +451,7 @@
451451
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
452452
GCC_WARN_UNUSED_FUNCTION = YES;
453453
GCC_WARN_UNUSED_VARIABLE = YES;
454-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
454+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
455455
MTL_ENABLE_DEBUG_INFO = YES;
456456
ONLY_ACTIVE_ARCH = YES;
457457
SDKROOT = iphoneos;
@@ -501,7 +501,7 @@
501501
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
502502
GCC_WARN_UNUSED_FUNCTION = YES;
503503
GCC_WARN_UNUSED_VARIABLE = YES;
504-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
504+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
505505
MTL_ENABLE_DEBUG_INFO = NO;
506506
SDKROOT = iphoneos;
507507
SUPPORTED_PLATFORMS = iphoneos;

example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1240"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

example/ios/Runner/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,7 @@
4343
<string>We will we will track you (clap clap stomp)</string>
4444
<key>UIViewControllerBasedStatusBarAppearance</key>
4545
<false/>
46+
<key>CADisableMinimumFrameDurationOnPhone</key>
47+
<true/>
4648
</dict>
4749
</plist>

0 commit comments

Comments
 (0)