Skip to content

Commit

Permalink
Merge pull request #45 from AppsFlyerSDK/releases/6.5.4
Browse files Browse the repository at this point in the history
Updating SDK version to 6.5.4
  • Loading branch information
sokoloff06 authored May 25, 2022
2 parents 4bc50e4 + 78e7f3d commit 80ef129
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 11 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,15 @@ Thumbs.db
classes
out


google-play-services_lib
sample-project/ext
cer
/sample-project/extentions
package-target
/android/src/com/appsflyer/adobeair/lib
/sample-project/build/build.custom.properties

# Ignore Gradle project-specific cache directory
.gradle

*.mobileprovision
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

---

Expand Down Expand Up @@ -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):

Expand All @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion SampleApp/Main-app-ios.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<!-- A universally unique application identifier. Must be unique across all AIR applications.
Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
<id>com.sokoloff06.sdktest1</id>
<id>com.appsflyer.dmitryiOSTest</id>

<!-- Used as the filename for the application. Required. -->
<filename>sdktest</filename>
Expand Down
Binary file modified SampleApp/libs/AppsFlyerAIRExtension.ane
Binary file not shown.
2 changes: 1 addition & 1 deletion actionscript/default/src/AppsFlyerInterface.as
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Binary file modified bin/AppsFlyerAIRExtension-strict.ane
Binary file not shown.
Binary file modified bin/AppsFlyerAIRExtension-witout-gp-support.ane
Binary file not shown.
Binary file modified bin/AppsFlyerAIRExtension-witout-gp.ane
Binary file not shown.
Binary file modified bin/AppsFlyerAIRExtension.ane
Binary file not shown.
Binary file modified bin/AppsFlyerAIRExtension.swc
Binary file not shown.
2 changes: 1 addition & 1 deletion bin/af_apk_fix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build/extension.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<extension xmlns="http://ns.adobe.com/air/extension/33.1">
<id>com.appsflyer.adobeair</id>
<versionNumber>6.4.0</versionNumber>
<versionNumber>6.5.40</versionNumber>
<platforms>
<platform name="Android-ARM">
<applicationDeployment>
Expand Down
Binary file modified ios/libAppsFlyerLib-strict.a
Binary file not shown.
Binary file modified ios/libAppsFlyerLib.a
Binary file not shown.
Binary file modified res/AF-Android-SDK.jar
Binary file not shown.

0 comments on commit 80ef129

Please sign in to comment.