diff --git a/CHANGELOG.md b/CHANGELOG.md
index ab24c03..ca48bf8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,18 @@
+### Version 5.0.4 (6th February 2025)
+#### Added
+- Added sending of the additional parameter to improve troubleshooting of `SKAdNetwork` related issues.
+
+#### Fixed
+- Fixed occasional occurrences in which ATT waiting interval timer was not being started.
+- Fixed occasional NPE occurrences when app was entering background (https://github.com/adjust/android_sdk/issues/630).
+- Fixed occasional NPE occurrences when `updateSkanConversionValue` returns `null` as error (https://github.com/adjust/flutter_sdk/issues/156).
+
+#### Native SDKs
+- [iOS@v5.1.0][ios_sdk_v5.1.0]
+- [Android@v5.1.0][android_sdk_v5.1.0]
+
+---
+
### Version 5.0.3 (6th December 2024)
#### Changed
- Switched to native Android SDK version that depends on a specific version of the signature library.
@@ -500,6 +515,7 @@ In case you were using beta version of the SDK v5, please switch to the official
[ios_sdk_v4.38.4]: https://github.com/adjust/ios_sdk/tree/v4.38.4
[ios_sdk_v5.0.0]: https://github.com/adjust/ios_sdk/tree/v5.0.0
[ios_sdk_v5.0.1]: https://github.com/adjust/ios_sdk/tree/v5.0.1
+[ios_sdk_v5.1.0]: https://github.com/adjust/ios_sdk/tree/v5.1.0
[android_sdk_v4.17.0]: https://github.com/adjust/android_sdk/tree/v4.17.0
[android_sdk_v4.18.0]: https://github.com/adjust/android_sdk/tree/v4.18.0
@@ -527,3 +543,4 @@ In case you were using beta version of the SDK v5, please switch to the official
[android_sdk_v5.0.0]: https://github.com/adjust/android_sdk/tree/v5.0.0
[android_sdk_v5.0.1]: https://github.com/adjust/android_sdk/tree/v5.0.1
[android_sdk_v5.0.2]: https://github.com/adjust/android_sdk/tree/v5.0.2
+[android_sdk_v5.1.0]: https://github.com/adjust/android_sdk/tree/v5.1.0
diff --git a/VERSION b/VERSION
index 50e2274..2d6c0bc 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-5.0.3
+5.0.4
diff --git a/android/build.gradle b/android/build.gradle
index 1e7b17f..9737c82 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -37,5 +37,5 @@ android {
}
dependencies {
- implementation 'com.adjust.sdk:adjust-android:5.0.2'
+ implementation 'com.adjust.sdk:adjust-android:5.1.0'
}
diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties
index 17fa29b..bad3715 100644
--- a/android/gradle/wrapper/gradle-wrapper.properties
+++ b/android/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
-#Thu Feb 17 11:59:04 CET 2022
+#Mon Jan 06 12:48:45 CET 2025
distributionBase=GRADLE_USER_HOME
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionPath=wrapper/dists
-zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
diff --git a/example/.metadata b/example/.metadata
index c7645f4..6eb54a1 100644
--- a/example/.metadata
+++ b/example/.metadata
@@ -4,7 +4,42 @@
# This file should be version controlled and should not be manually edited.
version:
- revision: cad4d1333eb70e66fe8e993b10fa09306a48269d
- channel: master
+ revision: "761747bfc538b5af34aa0d3fac380f1bc331ec49"
+ channel: "stable"
project_type: app
+
+# Tracks metadata for the flutter migrate command
+migration:
+ platforms:
+ - platform: root
+ create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
+ base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
+ - platform: android
+ create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
+ base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
+ - platform: ios
+ create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
+ base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
+ - platform: linux
+ create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
+ base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
+ - platform: macos
+ create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
+ base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
+ - platform: web
+ create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
+ base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
+ - platform: windows
+ create_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
+ base_revision: 761747bfc538b5af34aa0d3fac380f1bc331ec49
+
+ # User provided section
+
+ # List of Local paths (relative to this file) that should be
+ # ignored by the migrate tool.
+ #
+ # Files that are not part of the templates will be ignored by default.
+ unmanaged_files:
+ - 'lib/main.dart'
+ - 'ios/Runner.xcodeproj/project.pbxproj'
diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle
index 34ef80f..8919837 100644
--- a/example/android/app/build.gradle
+++ b/example/android/app/build.gradle
@@ -1,42 +1,41 @@
+plugins {
+ id "com.android.application"
+ id "kotlin-android"
+ // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
+ id "dev.flutter.flutter-gradle-plugin"
+}
+
def localProperties = new Properties()
-def localPropertiesFile = rootProject.file('local.properties')
+def localPropertiesFile = rootProject.file("local.properties")
if (localPropertiesFile.exists()) {
- localPropertiesFile.withReader('UTF-8') { reader ->
+ localPropertiesFile.withReader("UTF-8") { reader ->
localProperties.load(reader)
}
}
-def flutterRoot = localProperties.getProperty('flutter.sdk')
-if (flutterRoot == null) {
- throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
-}
-
-def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
+def flutterVersionCode = localProperties.getProperty("flutter.versionCode")
if (flutterVersionCode == null) {
- flutterVersionCode = '1'
+ flutterVersionCode = "1"
}
-def flutterVersionName = localProperties.getProperty('flutter.versionName')
+def flutterVersionName = localProperties.getProperty("flutter.versionName")
if (flutterVersionName == null) {
- flutterVersionName = '1.0'
+ flutterVersionName = "1.0"
}
-apply plugin: 'com.android.application'
-apply plugin: 'kotlin-android'
-apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
-
android {
- compileSdkVersion 33
+ namespace = "com.adjust.examples"
+ compileSdk = 34
- sourceSets {
- main.java.srcDirs += 'src/main/kotlin'
+ compileOptions {
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
}
-
defaultConfig {
applicationId "com.adjust.examples"
minSdkVersion flutter.minSdkVersion
- targetSdkVersion 33
+ targetSdkVersion 34
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
@@ -45,19 +44,15 @@ android {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
- signingConfig signingConfigs.debug
+ signingConfig = signingConfigs.debug
}
}
- lint {
- checkReleaseBuilds false
- disable 'InvalidPackage'
- }
- namespace 'com.adjust.examples'
}
flutter {
- source '../..'
+ source = "../.."
}
dependencies {
-}
+ implementation 'com.adjust.sdk:adjust-android:5.1.0'
+}
\ No newline at end of file
diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml
index de76e07..9802ea3 100644
--- a/example/android/app/src/main/AndroidManifest.xml
+++ b/example/android/app/src/main/AndroidManifest.xml
@@ -36,6 +36,13 @@
+
+
+
+
+
+
+
diff --git a/example/android/app/src/main/kotlin/com/adjust/examples/MainActivity.kt b/example/android/app/src/main/kotlin/com/adjust/examples/MainActivity.kt
index 96ef5a2..17c8b39 100644
--- a/example/android/app/src/main/kotlin/com/adjust/examples/MainActivity.kt
+++ b/example/android/app/src/main/kotlin/com/adjust/examples/MainActivity.kt
@@ -1,6 +1,24 @@
package com.adjust.examples
+import android.content.Intent
+import android.os.Bundle
+import com.adjust.sdk.Adjust
+import com.adjust.sdk.AdjustDeeplink
import io.flutter.embedding.android.FlutterActivity
-class MainActivity: FlutterActivity() {
+class MainActivity: FlutterActivity(){
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ val intent: Intent = intent
+ val data = intent.data
+ Adjust.processDeeplink(AdjustDeeplink(data), this)
+ }
+
+ override fun onNewIntent(intent: Intent) {
+ super.onNewIntent(intent)
+ val data = intent?.data
+ Adjust.processDeeplink(AdjustDeeplink(data), this)
+ }
+
+
}
diff --git a/example/android/app/src/main/res/values/styles.xml b/example/android/app/src/main/res/values/styles.xml
index 1f83a33..cb1ef88 100644
--- a/example/android/app/src/main/res/values/styles.xml
+++ b/example/android/app/src/main/res/values/styles.xml
@@ -1,18 +1,18 @@
-
-
-
diff --git a/example/android/build.gradle b/example/android/build.gradle
index 44994d6..bb91beb 100644
--- a/example/android/build.gradle
+++ b/example/android/build.gradle
@@ -6,7 +6,7 @@ buildscript {
}
dependencies {
- classpath 'com.android.tools.build:gradle:8.1.4'
+ classpath 'com.android.tools.build:gradle:8.8.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
@@ -18,12 +18,12 @@ allprojects {
}
}
-rootProject.buildDir = '../build'
+rootProject.buildDir = "../build"
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
- project.evaluationDependsOn(':app')
+ project.evaluationDependsOn(":app")
}
tasks.register("clean", Delete) {
diff --git a/example/android/gradle.properties b/example/android/gradle.properties
index f7a6b1a..5f5d39d 100644
--- a/example/android/gradle.properties
+++ b/example/android/gradle.properties
@@ -1,4 +1,6 @@
-org.gradle.jvmargs=-Xmx1536M
+org.gradle.jvmargs=-Xmx4G -XX:+HeapDumpOnOutOfMemoryError
android.useAndroidX=true
android.enableJetifier=true
-org.gradle.java.home=/Applications/Android Studio.app/Contents/jbr/Contents/Home
+android.defaults.buildfeatures.buildconfig=true
+android.nonTransitiveRClass=false
+android.nonFinalResIds=false
diff --git a/example/android/gradle/wrapper/gradle-wrapper.properties b/example/android/gradle/wrapper/gradle-wrapper.properties
index dea44d0..df97d72 100644
--- a/example/android/gradle/wrapper/gradle-wrapper.properties
+++ b/example/android/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,7 @@
-#Mon Sep 04 10:30:21 CEST 2023
distributionBase=GRADLE_USER_HOME
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
distributionPath=wrapper/dists
-zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
+networkTimeout=10000
+validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
diff --git a/example/android/settings.gradle b/example/android/settings.gradle
index 44e62bc..de88743 100644
--- a/example/android/settings.gradle
+++ b/example/android/settings.gradle
@@ -1,11 +1,25 @@
-include ':app'
+pluginManagement {
+ def flutterSdkPath = {
+ def properties = new Properties()
+ file("local.properties").withInputStream { properties.load(it) }
+ def flutterSdkPath = properties.getProperty("flutter.sdk")
+ assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
+ return flutterSdkPath
+ }()
-def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
-def properties = new Properties()
+ includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
-assert localPropertiesFile.exists()
-localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
+ repositories {
+ google()
+ mavenCentral()
+ gradlePluginPortal()
+ }
+}
-def flutterSdkPath = properties.getProperty("flutter.sdk")
-assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
-apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
+plugins {
+ id "dev.flutter.flutter-plugin-loader" version "1.0.0"
+ id "com.android.application" version '8.8.0' apply false
+ id "org.jetbrains.kotlin.android" version "1.7.10" apply false
+}
+
+include ":app"
diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj
index 1b79886..5679850 100644
--- a/example/ios/Runner.xcodeproj/project.pbxproj
+++ b/example/ios/Runner.xcodeproj/project.pbxproj
@@ -57,6 +57,7 @@
9DF8056024F9215600A001CE /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = System/Library/Frameworks/StoreKit.framework; sourceTree = SDKROOT; };
9DF8056224F9215B00A001CE /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; };
E1131B9CA4E134D6F01B8E27 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; };
+ E4C0BB812D37D39D005D23F8 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = ""; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -118,6 +119,7 @@
97C146F01CF9000F007C117D /* Runner */ = {
isa = PBXGroup;
children = (
+ E4C0BB812D37D39D005D23F8 /* Runner.entitlements */,
97C146FA1CF9000F007C117D /* Main.storyboard */,
97C146FD1CF9000F007C117D /* Assets.xcassets */,
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
@@ -378,6 +380,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
+ CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = QGUGW9AUMK;
ENABLE_BITCODE = NO;
@@ -518,6 +521,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
+ CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = QGUGW9AUMK;
ENABLE_BITCODE = NO;
@@ -550,6 +554,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
+ CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = QGUGW9AUMK;
ENABLE_BITCODE = NO;
diff --git a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
index 5e31d3d..9050e99 100644
--- a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
+++ b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -40,7 +40,7 @@
Bool {
GeneratedPluginRegistrant.register(with: self)
+ if let url = launchOptions?[.url] as? URL {
+ Adjust.processDeeplink(ADJDeeplink(deeplink: url)!)
+ }
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
+
+override func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
+ NSLog("Scheme based deep link opened an app: %@", url.absoluteString)
+ // add your code below to handle deep link
+ // (e.g., open deep link content)
+ // url object contains the deep link
+
+ // Call the below method to send deep link to Adjust backend
+ Adjust.processDeeplink(ADJDeeplink(deeplink: url)!)
+ return true
+ }
+
+override func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
+ if (userActivity.activityType == NSUserActivityTypeBrowsingWeb) {
+ NSLog("Universal link opened an app: %@", userActivity.webpageURL!.absoluteString)
+ // Pass deep link to Adjust in order to potentially reattribute user.
+ Adjust.processDeeplink(ADJDeeplink(deeplink: userActivity.webpageURL!)!)
+ }
+ return true
+ }
}
diff --git a/example/ios/Runner/Info.plist b/example/ios/Runner/Info.plist
index 53f8b32..dd50c28 100644
--- a/example/ios/Runner/Info.plist
+++ b/example/ios/Runner/Info.plist
@@ -2,6 +2,8 @@
+ CADisableMinimumFrameDurationOnPhone
+
CFBundleDevelopmentRegion
$(DEVELOPMENT_LANGUAGE)
CFBundleExecutable
@@ -18,10 +20,26 @@
$(FLUTTER_BUILD_NAME)
CFBundleSignature
????
+ CFBundleURLTypes
+
+
+ CFBundleTypeRole
+ com.adjust.examples
+ CFBundleURLSchemes
+
+ adjustexample
+
+
+
+
CFBundleVersion
$(FLUTTER_BUILD_NUMBER)
LSRequiresIPhoneOS
+ NSUserTrackingUsageDescription
+ This identifier will be used to deliver personalized ads and improve app analytics.
+ UIApplicationSupportsIndirectInputEvents
+
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
@@ -39,13 +57,7 @@
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight
- NSUserTrackingUsageDescription
- We will we will track you (clap clap stomp)
UIViewControllerBasedStatusBarAppearance
- CADisableMinimumFrameDurationOnPhone
-
- UIApplicationSupportsIndirectInputEvents
-
diff --git a/example/lib/main.dart b/example/lib/main.dart
index c71cb94..bf2a635 100644
--- a/example/lib/main.dart
+++ b/example/lib/main.dart
@@ -96,13 +96,6 @@ class _MyHomePageState extends State with WidgetsBindingObserver {
new AdjustConfig('2fm9gkqubvpc', AdjustEnvironment.sandbox);
config.logLevel = AdjustLogLevel.verbose;
- config.setUrlStrategy(['adjust.net.in', 'adjust.com'], true, false);
- //config.setUrlStrategy(['adjust.world', 'adjust.com'], true, false);
- //config.setUrlStrategy(['adjust.cn'], true, false);
- //config.setUrlStrategy(['eu.adjust.com'], true, true);
- //config.setUrlStrategy(['us.adjust.com'], true, true);
- //config.setUrlStrategy(['tr.adjust.com'], true, true);
-
config.attributionCallback = (AdjustAttribution attributionChangedData) {
print('[Adjust]: Attribution changed!');
diff --git a/ios/adjust_sdk.podspec b/ios/adjust_sdk.podspec
index 270abe7..edc3cad 100644
--- a/ios/adjust_sdk.podspec
+++ b/ios/adjust_sdk.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'adjust_sdk'
- s.version = '5.0.3'
+ s.version = '5.0.4'
s.summary = 'Adjust Flutter SDK for iOS platform'
s.description = <<-DESC
Adjust Flutter SDK for iOS platform.
@@ -14,5 +14,5 @@ Pod::Spec.new do |s|
s.ios.deployment_target = '12.0'
s.dependency 'Flutter'
- s.dependency 'Adjust', '5.0.1'
+ s.dependency 'Adjust', '5.1.0'
end
diff --git a/lib/adjust.dart b/lib/adjust.dart
index ea8986b..f129e9d 100644
--- a/lib/adjust.dart
+++ b/lib/adjust.dart
@@ -24,7 +24,7 @@ import 'package:flutter/services.dart';
import 'package:meta/meta.dart';
class Adjust {
- static const String _sdkPrefix = 'flutter5.0.3';
+ static const String _sdkPrefix = 'flutter5.0.4';
static const MethodChannel _channel =
const MethodChannel('com.adjust.sdk/api');
@@ -169,7 +169,7 @@ class Adjust {
}
static Future updateSkanConversionValue(int conversionValue, String coarseValue, bool lockWindow) async {
- final String error = await _channel.invokeMethod('updateSkanConversionValue', {
+ final String? error = await _channel.invokeMethod('updateSkanConversionValue', {
'conversionValue': conversionValue,
'coarseValue': coarseValue,
'lockWindow': lockWindow
diff --git a/pubspec.yaml b/pubspec.yaml
index c93f9a9..d369433 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,7 +1,7 @@
name: adjust_sdk
description: This is the Flutter SDK of Adjust™. You can read more about Adjust™ at adjust.com.
homepage: https://github.com/adjust/flutter_sdk
-version: 5.0.3
+version: 5.0.4
environment:
sdk: ">=2.12.0 <3.0.0"
diff --git a/test/android/build.gradle b/test/android/build.gradle
index 7d22d84..92e44ee 100644
--- a/test/android/build.gradle
+++ b/test/android/build.gradle
@@ -26,7 +26,7 @@ apply plugin: 'com.android.library'
android {
namespace 'com.adjust.test.lib'
- compileSdkVersion 35
+ compileSdk = 34
defaultConfig {
minSdkVersion 16
diff --git a/test/android/gradle/wrapper/gradle-wrapper.properties b/test/android/gradle/wrapper/gradle-wrapper.properties
index 4a2d0c3..09523c0 100644
--- a/test/android/gradle/wrapper/gradle-wrapper.properties
+++ b/test/android/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,7 @@
-#Wed Jul 10 16:34:20 CEST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.1-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
+networkTimeout=10000
+validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
diff --git a/test/app/android/gradle/wrapper/gradle-wrapper.properties b/test/app/android/gradle/wrapper/gradle-wrapper.properties
index 55de1e6..df97d72 100644
--- a/test/app/android/gradle/wrapper/gradle-wrapper.properties
+++ b/test/app/android/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,7 @@
-#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
+networkTimeout=10000
+validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
diff --git a/test/app/lib/main.dart b/test/app/lib/main.dart
index 848043a..f675fb8 100644
--- a/test/app/lib/main.dart
+++ b/test/app/lib/main.dart
@@ -26,13 +26,13 @@ class _MyAppState extends State {
super.initState();
if (Platform.isAndroid) {
- String _address = '192.168.86.151';
+ String _address = '192.168.2.46';
String _protocol = 'https';
String _port = '8443';
_overwriteUrl = _protocol + '://' + _address + ':' + _port;
_controlUrl = 'ws://' + _address + ':1987';
} else {
- String _address = '192.168.86.151';
+ String _address = '192.168.2.46';
String _protocol = 'http';
String _port = '8080';
_overwriteUrl = _protocol + '://' + _address + ':' + _port;
diff --git a/test/ios/test_lib.podspec b/test/ios/test_lib.podspec
index 31bf64a..dbd9ecc 100644
--- a/test/ios/test_lib.podspec
+++ b/test/ios/test_lib.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'test_lib'
- s.version = '5.0.3'
+ s.version = '5.0.4'
s.summary = 'Adjust test library for iOS platform'
s.description = <<-DESC
Adjust test library for iOS platform.
diff --git a/test/pubspec.yaml b/test/pubspec.yaml
index ba5e0cd..7161c57 100644
--- a/test/pubspec.yaml
+++ b/test/pubspec.yaml
@@ -1,6 +1,6 @@
name: test_lib
description: Flutter plugin for Adjust Testing Library. Intended exclusively for internal use.
-version: 5.0.3
+version: 5.0.4
author: Adjust (sdk@adjust.com)
environment: