diff --git a/.gitignore b/.gitignore index 9db74a7..7d3758b 100644 --- a/.gitignore +++ b/.gitignore @@ -36,7 +36,6 @@ Thumbs.db classes out - google-play-services_lib sample-project/ext cer @@ -44,3 +43,8 @@ cer package-target /android/src/com/appsflyer/adobeair/lib /sample-project/build/build.custom.properties + +# Ignore Gradle project-specific cache directory +.gradle + +*.mobileprovision diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f9042b..557022d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +## [6.5.40] - 2022-05-25 + +### Changed + +- AppsFlyer iOS SDK updated to [6.5.40](https://support.appsflyer.com/hc/en-us/articles/115001224823) +- AppsFlyer Android SDK updated to [6.5.40](https://support.appsflyer.com/hc/en-us/articles/115001256006) +- README.md in regards to the ADT limitation that was fixed in AIR SDK 33.1.1.856 + ## [6.4.0] - 2021-10-10 ### Added diff --git a/README.md b/README.md index 366e957..ea95ca6 100644 --- a/README.md +++ b/README.md @@ -48,13 +48,13 @@ Supported platforms: Based on: -- iOS AppsFlyerSDK **v6.3.2** -- Android AppsFlyerSDK **v6.3.2** +- iOS AppsFlyerSDK **v6.5.4** +- Android AppsFlyerSDK **v6.5.4** Built with: - SWF-version = 44 -- AIR SDK version = 33.1.1.533 +- AIR SDK version = 33.1.1.821 --- @@ -90,8 +90,10 @@ As a result, you should see your Manifest like this: ![image](https://user-images.githubusercontent.com/50541317/88154121-047b8100-cc0f-11ea-9647-5dae37e9817f.png) -**IMPORTANT** -Due to some limitations in the [ADT](https://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7fd9.html), after APK is built it is missing some important files. +**IMPORTANT If you use AIR SDK < v33.1.1.856** + +Due to some limitations in the [ADT](https://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7fd9.html) +bundled with AIR SDK < 33.1.1.856, after APK is built it is missing some important files. To add those files (with the help of **automated** script): @@ -107,7 +109,7 @@ Here is what the script is doing. In case of any issues you can perform those st 1. Decode the apk using [apktool](https://ibotpeaches.github.io/Apktool/). This will create app_name folder. `apktool d app_name.apk` 2. Download - the [AppsFlyer SDK jar/aar](https://repo.maven.apache.org/maven2/com/appsflyer/af-android-sdk/6.3.2/af-android-sdk-6.3.2.aar) + the [AppsFlyer SDK jar/aar](https://repo.maven.apache.org/maven2/com/appsflyer/af-android-sdk/6.5.4/af-android-sdk-6.5.4.aar) of the same version that was used in the apk 3. Extract files `a-` and `b-` from the jar (by renaming jar into a zip) and place them into the folder with the decompiled apk to `app_name/unknown/com/appsflyer/internal` diff --git a/SampleApp/Main-app-ios.xml b/SampleApp/Main-app-ios.xml index 82f5c78..0229fc6 100644 --- a/SampleApp/Main-app-ios.xml +++ b/SampleApp/Main-app-ios.xml @@ -11,7 +11,7 @@ - com.sokoloff06.sdktest1 + com.appsflyer.dmitryiOSTest sdktest diff --git a/SampleApp/libs/AppsFlyerAIRExtension.ane b/SampleApp/libs/AppsFlyerAIRExtension.ane index 8991ccd..afb1ed3 100644 Binary files a/SampleApp/libs/AppsFlyerAIRExtension.ane and b/SampleApp/libs/AppsFlyerAIRExtension.ane differ diff --git a/actionscript/default/src/AppsFlyerInterface.as b/actionscript/default/src/AppsFlyerInterface.as index 15df672..3c58f99 100644 --- a/actionscript/default/src/AppsFlyerInterface.as +++ b/actionscript/default/src/AppsFlyerInterface.as @@ -98,7 +98,7 @@ public class AppsFlyerInterface extends EventDispatcher { public function registerValidatorListener():void { } - public function waitForATTUserAuthorization():void { + public function waitForATTUserAuthorization(timeout:int):void { } public function disableSKAdNetwork(shouldDisable:Boolean):void { diff --git a/bin/AppsFlyerAIRExtension-strict.ane b/bin/AppsFlyerAIRExtension-strict.ane index 922d170..8647097 100644 Binary files a/bin/AppsFlyerAIRExtension-strict.ane and b/bin/AppsFlyerAIRExtension-strict.ane differ diff --git a/bin/AppsFlyerAIRExtension-witout-gp-support.ane b/bin/AppsFlyerAIRExtension-witout-gp-support.ane index c5dd6c9..80d8419 100644 Binary files a/bin/AppsFlyerAIRExtension-witout-gp-support.ane and b/bin/AppsFlyerAIRExtension-witout-gp-support.ane differ diff --git a/bin/AppsFlyerAIRExtension-witout-gp.ane b/bin/AppsFlyerAIRExtension-witout-gp.ane index 947793b..58c301c 100644 Binary files a/bin/AppsFlyerAIRExtension-witout-gp.ane and b/bin/AppsFlyerAIRExtension-witout-gp.ane differ diff --git a/bin/AppsFlyerAIRExtension.ane b/bin/AppsFlyerAIRExtension.ane index 8991ccd..afb1ed3 100644 Binary files a/bin/AppsFlyerAIRExtension.ane and b/bin/AppsFlyerAIRExtension.ane differ diff --git a/bin/AppsFlyerAIRExtension.swc b/bin/AppsFlyerAIRExtension.swc index 11240f0..9b71b97 100644 Binary files a/bin/AppsFlyerAIRExtension.swc and b/bin/AppsFlyerAIRExtension.swc differ diff --git a/bin/af_apk_fix.sh b/bin/af_apk_fix.sh index 5bd430a..f12837a 100755 --- a/bin/af_apk_fix.sh +++ b/bin/af_apk_fix.sh @@ -33,7 +33,7 @@ fi mkdir tmp # Download relevant SDK version for further extraction of needed files -curl -o ./tmp/android_sdk.zip 'https://repo.maven.apache.org/maven2/com/appsflyer/af-android-sdk/6.4.0/af-android-sdk-6.4.0.aar' +curl -o ./tmp/android_sdk.zip 'https://repo.maven.apache.org/maven2/com/appsflyer/af-android-sdk/6.5.4/af-android-sdk-6.5.4.aar' # Extract jar from the aar unzip ./tmp/android_sdk.zip -d tmp/android_sdk diff --git a/build/extension.xml b/build/extension.xml index 8b1f6e0..324c146 100644 --- a/build/extension.xml +++ b/build/extension.xml @@ -1,6 +1,6 @@ com.appsflyer.adobeair - 6.4.0 + 6.5.40 diff --git a/ios/libAppsFlyerLib-strict.a b/ios/libAppsFlyerLib-strict.a index 8bea05c..725a17b 100644 Binary files a/ios/libAppsFlyerLib-strict.a and b/ios/libAppsFlyerLib-strict.a differ diff --git a/ios/libAppsFlyerLib.a b/ios/libAppsFlyerLib.a index e85a6fc..d19a489 100644 Binary files a/ios/libAppsFlyerLib.a and b/ios/libAppsFlyerLib.a differ diff --git a/res/AF-Android-SDK.jar b/res/AF-Android-SDK.jar index ab0ba1f..28a8bca 100644 Binary files a/res/AF-Android-SDK.jar and b/res/AF-Android-SDK.jar differ