Skip to content

Commit

Permalink
Merge pull request #295 from AppsFlyerSDK/dev/DELIVERY-66442/v6.14.5
Browse files Browse the repository at this point in the history
Dev/delivery 66442/v6.14.5
  • Loading branch information
af-vero authored Jul 14, 2024
2 parents 0bde45e + 7004204 commit 7c1c3c0
Show file tree
Hide file tree
Showing 19 changed files with 42 additions and 31 deletions.
2 changes: 1 addition & 1 deletion Assets/AppsFlyer/AppsFlyer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions Assets/AppsFlyer/Editor/AppsFlyerDependencies.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<androidPackages>
<androidPackage spec="com.appsflyer:af-android-sdk:6.14.2">
</androidPackage>
<androidPackage spec="com.appsflyer:unity-wrapper:6.14.4">
<androidPackage spec="com.appsflyer:unity-wrapper:6.14.5">
</androidPackage>
<androidPackage spec="com.android.installreferrer:installreferrer:2.1">
</androidPackage>
</androidPackages>

<iosPods>
<iosPod name="AppsFlyerFramework" version="6.14.4" minTargetSdk="12.0">
<iosPod name="AppsFlyerFramework" version="6.14.5" minTargetSdk="12.0">
</iosPod>
</iosPods>

Expand Down
2 changes: 1 addition & 1 deletion Assets/AppsFlyer/Plugins/iOS/AppsFlyeriOSWrapper.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion Assets/AppsFlyer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

### <a id="plugin-build-for"> 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

---
### <a id="init-sdk-deeplink"> AD_ID permission for Android
Expand Down
8 changes: 7 additions & 1 deletion android-unity-wrapper/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions android-unity-wrapper/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion android-unity-wrapper/unitywrapper/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";
Expand Down
Binary file removed appsflyer-unity-plugin-6.14.3.unitypackage
Binary file not shown.
Binary file added appsflyer-unity-plugin-6.14.4.unitypackage
Binary file not shown.
4 changes: 2 additions & 2 deletions deploy/build_unity_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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."


Expand Down
4 changes: 2 additions & 2 deletions deploy/strict_mode_build_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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."


Expand Down
21 changes: 11 additions & 10 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions docs/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ Add this line for the latest version of the regular mode
<img src="https://user-images.githubusercontent.com/61788924/199495968-7aa911ed-27c4-4e5b-a496-3771d0405fd4.jpeg" width="350">

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
Binary file not shown.
Binary file not shown.

0 comments on commit 7c1c3c0

Please sign in to comment.