diff --git a/Assets/AppsFlyer/AppsFlyer.cs b/Assets/AppsFlyer/AppsFlyer.cs index e942a7a7..63b55a1f 100644 --- a/Assets/AppsFlyer/AppsFlyer.cs +++ b/Assets/AppsFlyer/AppsFlyer.cs @@ -6,7 +6,7 @@ namespace AppsFlyerSDK { public class AppsFlyer : MonoBehaviour { - public static readonly string kAppsFlyerPluginVersion = "6.14.4"; + public static readonly string kAppsFlyerPluginVersion = "6.14.5"; public static string CallBackObjectName = null; private static EventHandler onRequestResponse; private static EventHandler onInAppResponse; diff --git a/Assets/AppsFlyer/Editor/AppsFlyerDependencies.xml b/Assets/AppsFlyer/Editor/AppsFlyerDependencies.xml index f7ebbb2e..c0c9b114 100644 --- a/Assets/AppsFlyer/Editor/AppsFlyerDependencies.xml +++ b/Assets/AppsFlyer/Editor/AppsFlyerDependencies.xml @@ -4,14 +4,14 @@ - + - + diff --git a/Assets/AppsFlyer/Plugins/iOS/AppsFlyeriOSWrapper.mm b/Assets/AppsFlyer/Plugins/iOS/AppsFlyeriOSWrapper.mm index 95b0f9a8..da774c71 100644 --- a/Assets/AppsFlyer/Plugins/iOS/AppsFlyeriOSWrapper.mm +++ b/Assets/AppsFlyer/Plugins/iOS/AppsFlyeriOSWrapper.mm @@ -18,7 +18,7 @@ static void unityCallBack(NSString* objectName, const char* method, const char* const void _startSDK(bool shouldCallback, const char* objectName) { [[AppsFlyerLib shared] setPluginInfoWith: AFSDKPluginUnity - pluginVersion:@"6.14.4" + pluginVersion:@"6.14.5" additionalParams:nil]; startRequestObjectName = stringFromChar(objectName); AppsFlyeriOSWarpper.didCallStart = YES; diff --git a/Assets/AppsFlyer/package.json b/Assets/AppsFlyer/package.json index d335039a..013426a8 100644 --- a/Assets/AppsFlyer/package.json +++ b/Assets/AppsFlyer/package.json @@ -2,7 +2,7 @@ "name": "appsflyer-unity-plugin", "displayName": "AppsFlyer", "description": "AppsFlyer Unity plugin", - "version": "6.14.3", + "version": "6.14.4", "unity": "2019.4", "license": "MIT" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 95fa1d99..51eace46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ # Versions +## v6.14.4 +* Update iOS SDK version - 6.14.4 +* Update Android SDK version - 6.14.2 + ## v6.14.3 * Update iOS SDK version - 6.14.3 * Update Android SDK version - 6.14.0 diff --git a/README.md b/README.md index f6c2b1b8..b823c4e3 100755 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@ ### This plugin is built for -- Android AppsFlyer SDK v6.14.0 -- iOS AppsFlyer SDK v6.14.3 +- Android AppsFlyer SDK v6.14.2 +- iOS AppsFlyer SDK v6.14.4 --- ### AD_ID permission for Android diff --git a/android-unity-wrapper/build.gradle b/android-unity-wrapper/build.gradle index a950410b..e8a4474f 100644 --- a/android-unity-wrapper/build.gradle +++ b/android-unity-wrapper/build.gradle @@ -2,13 +2,19 @@ buildscript { + ext { + agp_version = '8.5.0' + agp_version1 = '7.4.2' + agp_version2 = '7.1.0' + agp_version3 = '3.6.1' + } repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:3.6.1' + classpath "com.android.tools.build:gradle:$agp_version3" classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.21.2" // NOTE: Do not place your application dependencies here; they belong diff --git a/android-unity-wrapper/gradle.properties b/android-unity-wrapper/gradle.properties index 3abcb409..80d8eb39 100644 --- a/android-unity-wrapper/gradle.properties +++ b/android-unity-wrapper/gradle.properties @@ -20,8 +20,8 @@ android.enableJetifier=true GROUP=com.appsflyer -VERSION_CODE=39 -VERSION_NAME=6.14.3 +VERSION_CODE=41 +VERSION_NAME=6.14.5 POM_ARTIFACT_ID=unity-wrapper POM_PACKAGING=aar diff --git a/android-unity-wrapper/gradle/wrapper/gradle-wrapper.properties b/android-unity-wrapper/gradle/wrapper/gradle-wrapper.properties index 69f5dab5..9e464c02 100644 --- a/android-unity-wrapper/gradle/wrapper/gradle-wrapper.properties +++ b/android-unity-wrapper/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Thu Jan 25 14:04:48 IST 2024 +#Sun Jul 14 11:38:33 IDT 2024 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip diff --git a/android-unity-wrapper/unitywrapper/build.gradle b/android-unity-wrapper/unitywrapper/build.gradle index 9928fdec..654774f8 100644 --- a/android-unity-wrapper/unitywrapper/build.gradle +++ b/android-unity-wrapper/unitywrapper/build.gradle @@ -31,7 +31,7 @@ repositories { dependencies { compileOnly fileTree(dir: 'libs', include: ['*.jar']) compileOnly 'androidx.appcompat:appcompat:1.1.0' - compileOnly 'com.appsflyer:af-android-sdk:6.14.0' + compileOnly 'com.appsflyer:af-android-sdk:6.14.2' } diff --git a/android-unity-wrapper/unitywrapper/src/main/java/com/appsflyer/unity/AppsFlyerAndroidWrapper.java b/android-unity-wrapper/unitywrapper/src/main/java/com/appsflyer/unity/AppsFlyerAndroidWrapper.java index 9aa3603d..d1c6e111 100644 --- a/android-unity-wrapper/unitywrapper/src/main/java/com/appsflyer/unity/AppsFlyerAndroidWrapper.java +++ b/android-unity-wrapper/unitywrapper/src/main/java/com/appsflyer/unity/AppsFlyerAndroidWrapper.java @@ -43,7 +43,7 @@ public class AppsFlyerAndroidWrapper { private static final String ON_DEEPLINKING = "onDeepLinking"; private static final String START_REQUEST_CALLBACK = "requestResponseReceived"; private static final String IN_APP_RESPONSE_CALLBACK = "inAppResponseReceived"; - private static final String PLUGIN_VERSION = "6.14.4"; + private static final String PLUGIN_VERSION = "6.14.5"; private static final long DDL_TIMEOUT_DEFAULT = 3000; private static AppsFlyerConversionListener conversionListener; private static String devkey = ""; diff --git a/appsflyer-unity-plugin-6.14.3.unitypackage b/appsflyer-unity-plugin-6.14.3.unitypackage deleted file mode 100644 index 5d150529..00000000 Binary files a/appsflyer-unity-plugin-6.14.3.unitypackage and /dev/null differ diff --git a/appsflyer-unity-plugin-6.14.4.unitypackage b/appsflyer-unity-plugin-6.14.4.unitypackage new file mode 100644 index 00000000..f8b5231b Binary files /dev/null and b/appsflyer-unity-plugin-6.14.4.unitypackage differ diff --git a/deploy/build_unity_package.sh b/deploy/build_unity_package.sh index 6efb0799..05bb3699 100644 --- a/deploy/build_unity_package.sh +++ b/deploy/build_unity_package.sh @@ -4,7 +4,7 @@ echo "Start Build for appsflyer-unity-plugin.unitypackage" DEPLOY_PATH=outputs UNITY_PATH="/Applications/Unity/Unity.app/Contents/MacOS/Unity" -PACKAGE_NAME="appsflyer-unity-plugin-6.14.3.unitypackage" +PACKAGE_NAME="appsflyer-unity-plugin-6.14.4.unitypackage" mkdir -p $DEPLOY_PATH #move external dependency manager @@ -23,7 +23,7 @@ mv external-dependency-manager-1.2.177.unitypackage .. Assets \ $PWD/$DEPLOY_PATH/$PACKAGE_NAME \ -quit \ -&& echo "package exported successfully to outputs/appsflyer-unity-plugin-6.14.3.unitypackage" \ +&& echo "package exported successfully to outputs/appsflyer-unity-plugin-6.14.4.unitypackage" \ || echo "Failed to export package. See create_unity_core.log for more info." diff --git a/deploy/strict_mode_build_package.sh b/deploy/strict_mode_build_package.sh index ffe27c3b..9eee670c 100644 --- a/deploy/strict_mode_build_package.sh +++ b/deploy/strict_mode_build_package.sh @@ -5,7 +5,7 @@ echo "Start Build for appsflyer-unity-plugin.unitypackage. Strict Mode." DEPLOY_PATH=outputs UNITY_PATH="/Applications/Unity/Unity.app/Contents/MacOS/Unity" - PACKAGE_NAME="appsflyer-unity-plugin-strict-mode-6.14.3.unitypackage" + PACKAGE_NAME="appsflyer-unity-plugin-strict-mode-6.14.4.unitypackage" mkdir -p $DEPLOY_PATH #move external dependency manager @@ -37,7 +37,7 @@ echo "Commenting out functions. Done." Assets \ $PWD/$DEPLOY_PATH/$PACKAGE_NAME \ -quit \ - && echo "package exported successfully to outputs/appsflyer-unity-plugin-strict-mode-6.14.3.unitypackage" \ + && echo "package exported successfully to outputs/appsflyer-unity-plugin-strict-mode-6.14.4.unitypackage" \ || echo "Failed to export package. See create_unity_core.log for more info." diff --git a/docs/API.md b/docs/API.md index 4e6c038d..83609f96 100755 --- a/docs/API.md +++ b/docs/API.md @@ -22,9 +22,9 @@ The list of available methods for this plugin is described below. - [setResolveDeepLinkURLs](#setresolvedeeplinkurls) - [setOneLinkCustomDomain](#setonelinkcustomdomain) - [setCurrencyCode](#setcurrencycode) - - [setDeepLinkTimeout](#setdeeplinktimeout) - - [enableTCFDataCollection](#enabletcfdatacollection) - - [setConsentData](#setconsentdata) + - [setDeepLinkTimeout](#setDeepLinkTimeout) + - [enableTCFDataCollection](#enableTCFDataCollection) + - [setConsentData](#setConsentData) - [recordLocation](#recordlocation) - [anonymizeUser](#anonymizeuser) - [getAppsFlyerId](#getappsflyerid) @@ -55,8 +55,8 @@ The list of available methods for this plugin is described below. - [isPreInstalledApp](#ispreinstalledapp) - [handlePushNotifications](#handlepushnotifications) - [getAttributionId](#getattributionid) - - [validateAndSendInAppPurchase-beta](#validateandsendinapppurchase-beta) - - [validateAndSendInAppPurchase](#validateandsendinapppurchase) + - [validateAndSendInAppPurchase (legacy)](#validateandsendinapppurchase) + - [validateAndSendInAppPurchase (beta)](#validateAndSendInAppPurchase-beta) - [setCollectOaid](#setcollectoaid) - [setDisableAdvertisingIdentifiers](#setdisableadvertisingidentifiers) - [setDisableNetworkData](#setdisablenetworkdata) @@ -67,8 +67,8 @@ The list of available methods for this plugin is described below. - [setDisableCollectIAd](#setdisablecollectiad) - [setUseReceiptValidationSandbox](#setusereceiptvalidationsandbox) - [setUseUninstallSandbox](#setuseuninstallsandbox) - - [validateAndSendInAppPurchase-beta-iOS](#validateandsendinapppurchase-beta-ios) - - [validateAndSendInAppPurchase](#validateandsendinapppurchase-1) + - [validateAndSendInAppPurchase (legacy)](#validateandsendinapppurchase-1) + - [validateAndSendInAppPurchase (beta)](#validateAndSendInAppPurchase-beta-iOS) - [registerUninstall](#registeruninstall) - [handleOpenUrl](#handleopenurl) - [waitForATTUserAuthorizationWithTimeoutInterval](#waitforattuserauthorizationwithtimeoutinterval) @@ -86,9 +86,10 @@ The list of available methods for this plugin is described below. - [onOpenStoreLinkGenerated](#onopenstorelinkgenerated) - [IAppsFlyerValidateReceipt](#iappsflyervalidatereceipt) - [didFinishValidateReceipt](#didfinishvalidatereceipt) -- [IAppsFlyerValidateAndLog](#iappsflyervalidateandlog) - - [onValidateAndLogComplete](#onvalidateandlogcomplete) - - [onValidateAndLogFailure](#onvalidateandlogfailure) + - [didFinishValidateReceiptWithError](#didfinishvalidatereceiptwitherror) +- [IAppsFlyerValidateAndLog](#IAppsFlyerValidateAndLog) + - [onValidateAndLogComplete](#onValidateAndLogComplete) + - [onValidateAndLogFailure](#onValidateAndLogFailure) - [Events](#events) - [onRequestResponse](#onrequestresponse) - [onInAppResponse](#oninappresponse) diff --git a/docs/Installation.md b/docs/Installation.md index a62c6bde..17ff5a43 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -55,10 +55,10 @@ Add this line for the latest version of the regular mode 2. Download and add the required Android dependencies to the Assets/Plugins/Android folder: - 1. [AppsFlyer Android SDK](https://repo1.maven.org/maven2/com/appsflyer/af-android-sdk/6.14.0/af-android-sdk-6.14.0.aar) - 2. [AppsFlyer Unity Wrapper](https://repo1.maven.org/maven2/com/appsflyer/unity-wrapper/6.14.3/unity-wrapper-6.14.3.aar) + 1. [AppsFlyer Android SDK](https://repo1.maven.org/maven2/com/appsflyer/af-android-sdk/6.14.2/af-android-sdk-6.14.2.aar) + 2. [AppsFlyer Unity Wrapper](https://repo1.maven.org/maven2/com/appsflyer/unity-wrapper/6.14.4/unity-wrapper-6.14.4.aar) 3. [Google Installreferrer library](https://mvnrepository.com/artifact/com.android.installreferrer/installreferrer/2.1) 3. Download and add the required iOS dependencies to the Assets/Plugins/iOS/AppsFlyer folder: - 1. [Download](https://s3.eu-west-1.amazonaws.com/download.appsflyer.com/ios/6.x.x/6.14.x/6.14.3/AF-iOS-SDK-v6.14.3.zip) the iOS SDK as a static library + 1. [Download](https://github.com/AppsFlyerSDK/AppsFlyerFramework/releases/tag/6.14.4) the iOS SDK as a static library `AppsFlyerLib.xcframework.zip` 2. Unzip the file you downloaded 3. Drag & drop all the files into the `Assets/Plugins/iOS/AppsFlyer` folder diff --git a/strict-mode-sdk/appsflyer-unity-plugin-strict-mode-6.14.3.unitypackage b/strict-mode-sdk/appsflyer-unity-plugin-strict-mode-6.14.3.unitypackage deleted file mode 100644 index edf9bb8b..00000000 Binary files a/strict-mode-sdk/appsflyer-unity-plugin-strict-mode-6.14.3.unitypackage and /dev/null differ diff --git a/strict-mode-sdk/appsflyer-unity-plugin-strict-mode-6.14.4.unitypackage b/strict-mode-sdk/appsflyer-unity-plugin-strict-mode-6.14.4.unitypackage new file mode 100644 index 00000000..1fe0fc77 Binary files /dev/null and b/strict-mode-sdk/appsflyer-unity-plugin-strict-mode-6.14.4.unitypackage differ