Skip to content

Commit

Permalink
Merge pull request #308 from AppsFlyerSDK/releases/6.x.x/6.15.x/6.15.…
Browse files Browse the repository at this point in the history
…3-rc3

Releases/6.x.x/6.15.x/6.15.3 rc3
  • Loading branch information
af-vero authored Sep 26, 2024
2 parents b0e3f2f + 112916c commit 7b7d644
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
with:
targetPlatform: iOS
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: Build
path: build
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
# After
echo "Disk space after:"
df -h
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: always()
with:
name: Test results for ${{ matrix.testMode }}
Expand Down
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.15.2";
public static readonly string kAppsFlyerPluginVersion = "6.15.3";
public static string CallBackObjectName = null;
private static EventHandler onRequestResponse;
private static EventHandler onInAppResponse;
Expand Down
2 changes: 1 addition & 1 deletion Assets/AppsFlyer/Editor/AppsFlyerDependencies.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<androidPackages>
<androidPackage spec="com.appsflyer:af-android-sdk:6.15.0">
</androidPackage>
<androidPackage spec="com.appsflyer:unity-wrapper:6.15.2">
<androidPackage spec="com.appsflyer:unity-wrapper:6.15.3">
</androidPackage>
<androidPackage spec="com.android.installreferrer:installreferrer:2.1">
</androidPackage>
Expand Down
7 changes: 3 additions & 4 deletions 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.15.2"
pluginVersion:@"6.15.3"
additionalParams:nil];
startRequestObjectName = stringFromChar(objectName);
AppsFlyeriOSWarpper.didCallStart = YES;
Expand Down Expand Up @@ -99,9 +99,8 @@ const void _setConsentData(bool isUserSubjectToGDPR, bool hasConsentForDataUsage

const void _logAdRevenue(const char* monetizationNetwork, int mediationNetworkInt, const char* currencyIso4217Code, double eventRevenue, const char* additionalParameters) {
AppsFlyerAdRevenueMediationNetworkType mediationNetwork = mediationNetworkTypeFromInt(mediationNetworkInt);
NSString *formattedString = [NSString localizedStringWithFormat:@"%.2f", eventRevenue];
NSNumber *revenue = [NSDecimalNumber decimalNumberWithString:formattedString];
AFAdRevenueData *adRevenue = [[AFAdRevenueData alloc] initWithMonetizationNetwork:stringFromChar(monetizationNetwork) mediationNetwork:mediationNetwork currencyIso4217Code:stringFromChar(currencyIso4217Code) eventRevenue:revenue];
NSNumber *number = [NSNumber numberWithDouble:eventRevenue];
AFAdRevenueData *adRevenue = [[AFAdRevenueData alloc] initWithMonetizationNetwork:stringFromChar(monetizationNetwork) mediationNetwork:mediationNetwork currencyIso4217Code:stringFromChar(currencyIso4217Code) eventRevenue:number];
[[AppsFlyerLib shared] logAdRevenue: adRevenue additionalParameters:dictionaryFromJson(additionalParameters)];
}

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.15.2",
"version": "6.15.3",
"unity": "2019.4",
"license": "MIT"
}
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Versions
## v6.15.3
* Fix logAdRevenue - revenue value will not be rounded

## v6.15.2
* Update iOS SDK version - 6.15.2

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=44
VERSION_NAME=6.15.2
VERSION_CODE=45
VERSION_NAME=6.15.3

POM_ARTIFACT_ID=unity-wrapper
POM_PACKAGING=aar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,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.15.2";
private static final String PLUGIN_VERSION = "6.15.3";
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.15.2.unitypackage
Binary file not shown.
Binary file added appsflyer-unity-plugin-6.15.3.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.15.2.unitypackage"
PACKAGE_NAME="appsflyer-unity-plugin-6.15.3.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.15.2.unitypackage" \
&& echo "package exported successfully to outputs/appsflyer-unity-plugin-6.15.3.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.15.2.unitypackage"
PACKAGE_NAME="appsflyer-unity-plugin-strict-mode-6.15.3.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.15.2.unitypackage" \
&& echo "package exported successfully to outputs/appsflyer-unity-plugin-strict-mode-6.15.3.unitypackage" \
|| echo "Failed to export package. See create_unity_core.log for more info."


Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 7b7d644

Please sign in to comment.