From e75b6a4e4619966d10f44f4586529cb7cf749b20 Mon Sep 17 00:00:00 2001 From: Ivan Obodovskyi Date: Wed, 4 Nov 2026 15:39:44 +0200 Subject: [PATCH 1/6] fix(json): serialize and parse numbers with invariant culture (DELIVERY-135217) AFMiniJSON formatted and parsed numbers with the current culture, so on comma-decimal locales (vi-VN, de-DE, fr-FR, ru-RU, ...) RPC requests became invalid JSON ("revenue":0,0123) and logAdRevenue/logLocation and other numeric RPC calls were silently dropped on Android and iOS. - Serialize float/double/decimal/integers with CultureInfo.InvariantCulture ("R" round-trip format for floating point). - NaN/Infinity have no JSON representation and are emitted as 0, so Android and iOS RPC bridges behave identically. - Parse numbers with InvariantCulture; exponent and beyond-long integers are parsed as double instead of collapsing to 0. - DeepLinkEventsArgs.getDeepLinkParameter formats values invariantly. - Add AFMiniJSONCultureTests (vi-VN, de-DE, fr-FR, ru-RU). Co-Authored-By: Claude Opus 5.5 --- Assets/AppsFlyer/AFMiniJSON.cs | 36 +++- Assets/AppsFlyer/AppsFlyerEventArgs.cs | 2 +- Assets/AppsFlyer/Tests/Tests_Suite.cs | 262 +++++++++++++++++++++++++ CHANGELOG.md | 20 ++ 4 files changed, 311 insertions(+), 9 deletions(-) diff --git a/Assets/AppsFlyer/AFMiniJSON.cs b/Assets/AppsFlyer/AFMiniJSON.cs index d02bf2f6..1a2f9faf 100755 --- a/Assets/AppsFlyer/AFMiniJSON.cs +++ b/Assets/AppsFlyer/AFMiniJSON.cs @@ -29,6 +29,7 @@ using System; using System.Collections; using System.Collections.Generic; +using System.Globalization; using System.IO; using System.Text; @@ -90,6 +91,7 @@ public static object Deserialize(string json) { sealed class Parser : IDisposable { const string WORD_BREAK = "{}[],:\""; + static readonly char[] FractionOrExponentChars = { '.', 'e', 'E' }; public static bool IsWordBreak(char c) { return Char.IsWhiteSpace(c) || WORD_BREAK.IndexOf(c) != -1; @@ -290,14 +292,17 @@ string ParseString() { object ParseNumber() { string number = NextWord; - if (number.IndexOf('.') == -1) { + // JSON numbers are culture-invariant. Parsing with the current culture breaks on + // comma-decimal locales (vi-VN/de-DE treat '.' as a thousands separator, so "0.5" -> 5). + if (number.IndexOfAny(FractionOrExponentChars) == -1) { long parsedInt; - Int64.TryParse(number, out parsedInt); - return parsedInt; + if (Int64.TryParse(number, NumberStyles.Integer, CultureInfo.InvariantCulture, out parsedInt)) { + return parsedInt; + } } double parsedDouble; - Double.TryParse(number, out parsedDouble); + Double.TryParse(number, NumberStyles.Float, CultureInfo.InvariantCulture, out parsedDouble); return parsedDouble; } @@ -524,8 +529,18 @@ void SerializeOther(object value) { // NOTE: decimals lose precision during serialization. // They always have, I'm just letting you know. // Previously floats and doubles lost precision too. + // JSON numbers must be culture-invariant: the current culture would emit "0,0123" on + // comma-decimal locales, producing invalid JSON that the native RPC bridge rejects. + // NaN/Infinity have no JSON representation; they're emitted as 0 (not null) so both native + // RPC layers treat them the same — Android's parser maps null to 0 for numeric params while + // iOS rejects null, so null would drop the event on iOS but log 0 on Android. if (value is float) { - builder.Append(((float) value).ToString("R")); + float f = (float) value; + if (float.IsNaN(f) || float.IsInfinity(f)) { + builder.Append('0'); + } else { + builder.Append(f.ToString("R", CultureInfo.InvariantCulture)); + } } else if (value is int || value is uint || value is long @@ -534,12 +549,17 @@ void SerializeOther(object value) { || value is short || value is ushort || value is ulong) { - builder.Append(value); + builder.Append(Convert.ToString(value, CultureInfo.InvariantCulture)); } else if (value is double || value is decimal) { - builder.Append(Convert.ToDouble(value).ToString("R")); + double d = Convert.ToDouble(value, CultureInfo.InvariantCulture); + if (double.IsNaN(d) || double.IsInfinity(d)) { + builder.Append('0'); + } else { + builder.Append(d.ToString("R", CultureInfo.InvariantCulture)); + } } else { - SerializeString(value.ToString()); + SerializeString(Convert.ToString(value, CultureInfo.InvariantCulture)); } } } diff --git a/Assets/AppsFlyer/AppsFlyerEventArgs.cs b/Assets/AppsFlyer/AppsFlyerEventArgs.cs index fb036f3b..1ad2ac7c 100644 --- a/Assets/AppsFlyer/AppsFlyerEventArgs.cs +++ b/Assets/AppsFlyer/AppsFlyerEventArgs.cs @@ -219,7 +219,7 @@ private string getDeepLinkParameter(string name) { if (deepLink != null && deepLink.ContainsKey(name) && deepLink[name] != null) { - return deepLink[name].ToString(); + return Convert.ToString(deepLink[name], System.Globalization.CultureInfo.InvariantCulture); } return null; diff --git a/Assets/AppsFlyer/Tests/Tests_Suite.cs b/Assets/AppsFlyer/Tests/Tests_Suite.cs index 55dca6d9..fd43fa17 100644 --- a/Assets/AppsFlyer/Tests/Tests_Suite.cs +++ b/Assets/AppsFlyer/Tests/Tests_Suite.cs @@ -1107,4 +1107,266 @@ public async Task RegisterDeepLinkListener_iOS_SendsRegisterDeeplinkListener() } #endif } + + /// + /// DELIVERY-135217: AFMiniJSON used the current culture for numbers, so on comma-decimal + /// locales (vi-VN, de-DE, ...) requests carried "revenue":0,0123 (invalid JSON, dropped by the + /// native RPC bridge) and parsed native payloads silently corrupted fractional values. + /// Every test runs under each comma-decimal culture below. + /// + [TestFixture("vi-VN")] + [TestFixture("de-DE")] + [TestFixture("fr-FR")] + [TestFixture("ru-RU")] + public class AFMiniJSONCultureTests + { + private readonly string _cultureName; + private System.Globalization.CultureInfo _savedCulture; + private IAppsFlyerRPCClient mockRpc; + private readonly List _spawned = new List(); + + public AFMiniJSONCultureTests(string cultureName) + { + _cultureName = cultureName; + } + + [SetUp] + public void SetUp() + { + _savedCulture = System.Globalization.CultureInfo.CurrentCulture; + System.Globalization.CultureInfo culture; + try + { + culture = new System.Globalization.CultureInfo(_cultureName); + } + catch (System.Globalization.CultureNotFoundException) + { + Assert.Inconclusive(_cultureName + " culture data is not available on this runtime"); + return; + } + if (culture.NumberFormat.NumberDecimalSeparator != ",") + Assert.Inconclusive(_cultureName + " is not a comma-decimal culture on this runtime"); + System.Globalization.CultureInfo.CurrentCulture = culture; + + mockRpc = Substitute.For(); + AppsFlyerRPCClient.instance = mockRpc; + } + + [TearDown] + public void TearDown() + { + System.Globalization.CultureInfo.CurrentCulture = _savedCulture; + AppsFlyerRPCClient.instance = AppsFlyerRPCClient.DefaultInstance; + AppsFlyer.CallBackObjectName = null; + typeof(AppsFlyer).GetField("onConversionDataSuccessCallback", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static) + ?.SetValue(null, null); + typeof(AppsFlyer).GetField("onConversionDataFailCallback", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static) + ?.SetValue(null, null); + typeof(AppsFlyer).GetField("onDeepLinkListenerCallback", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static) + ?.SetValue(null, null); + foreach (var go in _spawned) UnityEngine.Object.DestroyImmediate(go); + _spawned.Clear(); + } + + // ── Serialize ────────────────────────────────────────────────────────────── + + [Test] + public void Serialize_Double_UsesDotDecimalSeparator() + { + Assert.AreEqual("{\"v\":0.0123}", Json.Serialize(new Dictionary { { "v", 0.0123 } })); + } + + [Test] + public void Serialize_Float_UsesDotDecimalSeparator() + { + Assert.AreEqual("{\"v\":1.5}", Json.Serialize(new Dictionary { { "v", 1.5f } })); + } + + [Test] + public void Serialize_Decimal_UsesDotDecimalSeparator() + { + Assert.AreEqual("{\"v\":19.99}", Json.Serialize(new Dictionary { { "v", 19.99m } })); + } + + [Test] + public void Serialize_NegativeAndLargeIntegers_AreInvariant() + { + // Some cultures use U+2212 (minus sign) instead of '-'; force it so the test actually + // fails if integers are formatted with the current culture. + var withUnicodeMinus = (System.Globalization.CultureInfo)System.Globalization.CultureInfo.CurrentCulture.Clone(); + withUnicodeMinus.NumberFormat.NegativeSign = "\u2212"; + System.Globalization.CultureInfo.CurrentCulture = withUnicodeMinus; + + Assert.AreEqual("[-42,1234567,-9000000000]", Json.Serialize(new List { -42, 1234567, -9000000000L })); + } + + [Test] + public void Serialize_NonPrimitiveFallback_IsInvariant() + { + var value = new DateTime(2026, 11, 4, 13, 5, 0); + Assert.AreEqual("{\"v\":\"" + value.ToString(System.Globalization.CultureInfo.InvariantCulture) + "\"}", + Json.Serialize(new Dictionary { { "v", value } })); + } + + [Test] + public void Serialize_NaNAndInfinity_BecomeZero() + { + Assert.AreEqual("[0,0,0,0]", + Json.Serialize(new List { double.NaN, double.PositiveInfinity, float.NaN, float.NegativeInfinity })); + } + + // ── Deserialize ──────────────────────────────────────────────────────────── + + [Test] + public void Deserialize_Fraction_IsNotTreatedAsThousandsSeparator() + { + var dict = Json.Deserialize("{\"v\":0.5,\"w\":1234.25}") as Dictionary; + Assert.AreEqual(0.5, (double)dict["v"]); + Assert.AreEqual(1234.25, (double)dict["w"]); + } + + [Test] + public void Deserialize_Exponent_IsParsedAsDouble() + { + var list = Json.Deserialize("[1E-05,-2.5e3,3e+2]") as List; + Assert.AreEqual(1e-05, (double)list[0], 1e-12); + Assert.AreEqual(-2500.0, (double)list[1]); + Assert.AreEqual(300.0, (double)list[2]); + } + + [Test] + public void Deserialize_Integers_StayLong() + { + var list = Json.Deserialize("[-42,0,9000000000]") as List; + Assert.AreEqual(-42L, list[0]); + Assert.AreEqual(0L, list[1]); + Assert.AreEqual(9000000000L, list[2]); + } + + [Test] + public void Deserialize_IntegerBeyondLongRange_FallsBackToDouble() + { + var list = Json.Deserialize("[99999999999999999999]") as List; + Assert.IsInstanceOf(list[0]); + Assert.AreEqual(1e20, (double)list[0], 1e5); + } + + [Test] + public void RoundTrip_PreservesFractionalValues() + { + var original = new Dictionary { { "a", 0.0123 }, { "b", -7.25 }, { "c", 1e-7 } }; + var parsed = Json.Deserialize(Json.Serialize(original)) as Dictionary; + Assert.AreEqual(0.0123, (double)parsed["a"]); + Assert.AreEqual(-7.25, (double)parsed["b"]); + Assert.AreEqual(1e-7, (double)parsed["c"], 1e-15); + } + + // ── Public APIs whose RPC request carries numbers ────────────────────────── + + [Test] + [Timeout(10000)] + public async Task LogAdRevenue_RequestIsValidJsonWithDotDecimal() + { + Dictionary captured = null; + mockRpc.When(x => x.ExecuteFire("logAdRevenue", Arg.Any>())) + .Do(ci => captured = ci.ArgAt>(1)); + + await AppsFlyer.logAdRevenue(new AFAdRevenueData("ironSource", MediationNetwork.IronSource, "USD", 0.0123), null); + + string json = AppsFlyerRPCClient.DefaultInstance.BuildRequest("logAdRevenue", captured); + StringAssert.Contains("\"revenue\":0.0123", json); + var request = Json.Deserialize(json) as Dictionary; + Assert.IsNotNull(request, "request JSON must parse: " + json); + Assert.AreEqual(0.0123, (double)((Dictionary)request["params"])["revenue"]); + } + + [TestCase(double.NaN)] + [TestCase(double.PositiveInfinity)] + [TestCase(double.NegativeInfinity)] + [Timeout(10000)] + public async Task LogAdRevenue_NonFiniteRevenue_IsSentAsZero(double revenue) + { + Dictionary captured = null; + mockRpc.When(x => x.ExecuteFire("logAdRevenue", Arg.Any>())) + .Do(ci => captured = ci.ArgAt>(1)); + + await AppsFlyer.logAdRevenue(new AFAdRevenueData("ironSource", MediationNetwork.IronSource, "USD", revenue), null); + + string json = AppsFlyerRPCClient.DefaultInstance.BuildRequest("logAdRevenue", captured); + StringAssert.Contains("\"revenue\":0,", json); + Assert.IsNotNull(Json.Deserialize(json), "request JSON must parse: " + json); + } + + [Test] + [Timeout(10000)] + public async Task LogLocation_NonFiniteCoordinates_AreSentAsZero() + { + Dictionary captured = null; + mockRpc.When(x => x.ExecuteFire("logLocation", Arg.Any>())) + .Do(ci => captured = ci.ArgAt>(1)); + + await AppsFlyer.logLocation(double.NaN, double.PositiveInfinity); + + string json = AppsFlyerRPCClient.DefaultInstance.BuildRequest("logLocation", captured); + StringAssert.Contains("\"latitude\":0", json); + StringAssert.Contains("\"longitude\":0", json); + Assert.IsNotNull(Json.Deserialize(json), "request JSON must parse: " + json); + } + + [Test] + [Timeout(10000)] + public async Task LogLocation_RequestIsValidJsonWithDotDecimal() + { + Dictionary captured = null; + mockRpc.When(x => x.ExecuteFire("logLocation", Arg.Any>())) + .Do(ci => captured = ci.ArgAt>(1)); + + await AppsFlyer.logLocation(10.7769, -106.7009); + + string json = AppsFlyerRPCClient.DefaultInstance.BuildRequest("logLocation", captured); + StringAssert.Contains("\"latitude\":10.7769", json); + StringAssert.Contains("\"longitude\":-106.7009", json); + Assert.IsNotNull(Json.Deserialize(json), "request JSON must parse: " + json); + } + +#if UNITY_IOS || UNITY_STANDALONE_OSX + [Test] + [Timeout(10000)] + public async Task HandlePushNotifications_NumericPayloadValues_AreInvariant() + { + Dictionary captured = null; + mockRpc.When(x => x.ExecuteFire("handlePushNotification", Arg.Any>())) + .Do(ci => captured = ci.ArgAt>(1)); + + await AppsFlyer.handlePushNotifications(new Dictionary { { "score", 2.5 } }); + + string json = AppsFlyerRPCClient.DefaultInstance.BuildRequest("handlePushNotification", captured); + StringAssert.Contains("\"score\":2.5", json); + } +#endif + + // ── Callbacks parsed from native payloads ────────────────────────────────── + + [Test] + [Timeout(10000)] + public async Task ConversionData_RoundTripThroughOnRPCEvent_PreservesFractions() + { + string success = null; + await AppsFlyer.registerConversionListener(d => success = d, e => { }); + var go = new GameObject(); + _spawned.Add(go); + go.AddComponent().onRPCEvent("{\"event\":\"onConversionDataSuccess\",\"data\":{\"cost\":0.5}}"); + + Assert.IsNotNull(success); + var data = AppsFlyer.CallbackStringToDictionary(success); + Assert.AreEqual(0.5, (double)data["cost"]); + } + + [Test] + public void DeepLinkEventsArgs_NumericValue_FormatsInvariant() + { + var args = new DeepLinkEventsArgs("{\"status\":\"FOUND\",\"deepLink\":{\"deep_link_value\":0.5}}"); + Assert.AreEqual("0.5", args.getDeepLinkValue()); + } + } } diff --git a/CHANGELOG.md b/CHANGELOG.md index 624741fc..0cfcd56c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Versions +## Unreleased +* **Fix (DELIVERY-135217):** `AFMiniJSON` formatted and parsed numbers using the device's current + culture. On comma-decimal locales (e.g. `vi-VN`, `de-DE`, `fr-FR`, `ru-RU`) RPC requests carried + `"revenue":0,0123`, which is invalid JSON, and the native RPC bridge rejected them. As a result, + `logAdRevenue` and `logLocation` were silently dropped on Android and iOS, along with any request + carrying float/double/decimal values (e.g. numeric values in `handlePushNotifications` payloads, + Purchase Connector additional parameters). Numbers are now always serialized and parsed with + `CultureInfo.InvariantCulture`. +* **Fix:** parsing payloads from native (conversion data, deep link data, `validateAndLogInAppPurchase` + results, `CallbackStringToDictionary`) silently corrupted fractional values on comma-decimal locales + (`0.5` → `5` or `0`). Numbers with an exponent (`1E-05`) were parsed as `0`, and so were integers + beyond the `long` range. They are now parsed as `double`. +* **Fix:** `DeepLinkEventsArgs` getters (`getDeepLinkValue`, `getMediaSource`, ...) formatted numeric + values with the current culture (`0.5` → `"0,5"`). They now use the invariant culture. +* **Behavior change:** `NaN` and `±Infinity` have no JSON representation and are now serialized as `0` + (previously they produced invalid JSON). For example, `logAdRevenue` with a `NaN` revenue is sent + with `revenue = 0` on both platforms. +* **Behavior change:** parsed numbers that have an exponent, or that are integers beyond the `long` + range, are now returned as `double` instead of `long` `0`. + ## v7.0.4 * Update af-android-plugin-bridge version - 7.0.13 * Update AppsFlyerRPC version - 7.0.41 From 244e3dbc944caae1e2c29158326067cb747203d4 Mon Sep 17 00:00:00 2001 From: Ivan Obodovskyi Date: Wed, 4 Nov 2026 15:39:44 +0200 Subject: [PATCH 2/6] chore: ignore local .sdk_workspace checkouts Co-Authored-By: Claude Opus 5.5 --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 3be0d90c..dec5b073 100644 --- a/.gitignore +++ b/.gitignore @@ -83,3 +83,6 @@ build.gradle_mine *.csproj *.cache + +# Local SDK source checkouts for cross-referencing (not part of the plugin) +.sdk_workspace/ From a4d2dfa1d19f624aab7e95ab39b209bce71e90a5 Mon Sep 17 00:00:00 2001 From: Ivan Obodovskyi Date: Wed, 4 Nov 2026 15:48:21 +0200 Subject: [PATCH 3/6] docs(changelog): move DELIVERY-135217 entry to v7.0.5 Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cfcd56c..4879b7d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Versions -## Unreleased +## v7.0.5 * **Fix (DELIVERY-135217):** `AFMiniJSON` formatted and parsed numbers using the device's current culture. On comma-decimal locales (e.g. `vi-VN`, `de-DE`, `fr-FR`, `ru-RU`) RPC requests carried `"revenue":0,0123`, which is invalid JSON, and the native RPC bridge rejected them. As a result, From 8a31e890fb7ed2636b9cfea25a185a643c16db12 Mon Sep 17 00:00:00 2001 From: Ivan Obodovskyi Date: Wed, 4 Nov 2026 15:57:25 +0200 Subject: [PATCH 4/6] docs(changelog): set DELIVERY-135217 entry version to v7.0.41 Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4879b7d6..df5e5ad1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Versions -## v7.0.5 +## v7.0.41 * **Fix (DELIVERY-135217):** `AFMiniJSON` formatted and parsed numbers using the device's current culture. On comma-decimal locales (e.g. `vi-VN`, `de-DE`, `fr-FR`, `ru-RU`) RPC requests carried `"revenue":0,0123`, which is invalid JSON, and the native RPC bridge rejected them. As a result, From cd987f6652c59936f5ce1dd88eec1b2dabd24e9a Mon Sep 17 00:00:00 2001 From: af-margot Date: Wed, 4 Nov 2026 14:22:50 +0000 Subject: [PATCH 5/6] chore: bump to 7.0.41-rc1 --- Assets/AppsFlyer/AppsFlyer.cs | 2 +- Assets/AppsFlyer/package.json | 2 +- CHANGELOG.md | 6 ++++++ deploy/build_unity_package.sh | 2 +- deploy/strict_mode_build_package.sh | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Assets/AppsFlyer/AppsFlyer.cs b/Assets/AppsFlyer/AppsFlyer.cs index 3053ef72..994220d8 100644 --- a/Assets/AppsFlyer/AppsFlyer.cs +++ b/Assets/AppsFlyer/AppsFlyer.cs @@ -17,7 +17,7 @@ namespace AppsFlyerSDK #pragma warning disable CS1998 public class AppsFlyer : MonoBehaviour { - public static readonly string kAppsFlyerPluginVersion = "7.0.4"; + public static readonly string kAppsFlyerPluginVersion = "7.0.41-rc1"; public static string CallBackObjectName = null; private static EventHandler onSessionReady; private static Action onConversionDataSuccessCallback; diff --git a/Assets/AppsFlyer/package.json b/Assets/AppsFlyer/package.json index 2406bbdc..ffddf68f 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": "7.0.4", + "version": "7.0.41-rc1", "unity": "2023.1", "license": "MIT" } diff --git a/CHANGELOG.md b/CHANGELOG.md index df5e5ad1..e49d4e64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,12 @@ * **Behavior change:** parsed numbers that have an exponent, or that are integers beyond the `long` range, are now returned as `double` instead of `long` `0`. +* Update af-android-plugin-bridge version - 7.0.13 +* Update AppsFlyerRPC version - 7.0.41 +* Update Android unity-wrapper version - 7.0.16 +* Update iOS Purchase Connector version - 7.0.4 +* Update Android Purchase Connector version - 2.3.0 +* Unity plugin version - 7.0.41-rc1 ## v7.0.4 * Update af-android-plugin-bridge version - 7.0.13 * Update AppsFlyerRPC version - 7.0.41 diff --git a/deploy/build_unity_package.sh b/deploy/build_unity_package.sh index cc378645..6fd87899 100755 --- a/deploy/build_unity_package.sh +++ b/deploy/build_unity_package.sh @@ -6,7 +6,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)" DEPLOY_PATH="$SCRIPT_DIR/outputs" -PACKAGE_NAME="appsflyer-unity-plugin-7.0.4.unitypackage" +PACKAGE_NAME="appsflyer-unity-plugin-7.0.41-rc1.unitypackage" UNITY_BIN="${UNITY_PATH:-/Applications/Unity/Unity.app/Contents/MacOS/Unity}" EDM_PACKAGE="$REPO_ROOT/Assets/ExternalDependencyManager/Editor/external-dependency-manager-1.2.187.unitypackage" OUTPUT_DIR="$DEPLOY_PATH" diff --git a/deploy/strict_mode_build_package.sh b/deploy/strict_mode_build_package.sh index 41c45d41..13be8487 100755 --- a/deploy/strict_mode_build_package.sh +++ b/deploy/strict_mode_build_package.sh @@ -6,7 +6,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)" DEPLOY_PATH="$SCRIPT_DIR/outputs" -PACKAGE_NAME="appsflyer-unity-plugin-strict-mode-7.0.4.unitypackage" +PACKAGE_NAME="appsflyer-unity-plugin-strict-mode-7.0.41-rc1.unitypackage" UNITY_BIN="${UNITY_PATH:-/Applications/Unity/Unity.app/Contents/MacOS/Unity}" EDM_PACKAGE="$REPO_ROOT/Assets/ExternalDependencyManager/Editor/external-dependency-manager-1.2.187.unitypackage" OUTPUT_DIR="$DEPLOY_PATH" From e83b32282f48101032f08201ddea3559ffd51b3d Mon Sep 17 00:00:00 2001 From: af-margot Date: Wed, 4 Nov 2026 15:14:14 +0000 Subject: [PATCH 6/6] chore: promote to 7.0.41 --- Assets/AppsFlyer/AppsFlyer.cs | 2 +- Assets/AppsFlyer/package.json | 2 +- CHANGELOG.md | 2 +- deploy/build_unity_package.sh | 2 +- deploy/strict_mode_build_package.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Assets/AppsFlyer/AppsFlyer.cs b/Assets/AppsFlyer/AppsFlyer.cs index 994220d8..756396dd 100644 --- a/Assets/AppsFlyer/AppsFlyer.cs +++ b/Assets/AppsFlyer/AppsFlyer.cs @@ -17,7 +17,7 @@ namespace AppsFlyerSDK #pragma warning disable CS1998 public class AppsFlyer : MonoBehaviour { - public static readonly string kAppsFlyerPluginVersion = "7.0.41-rc1"; + public static readonly string kAppsFlyerPluginVersion = "7.0.41"; public static string CallBackObjectName = null; private static EventHandler onSessionReady; private static Action onConversionDataSuccessCallback; diff --git a/Assets/AppsFlyer/package.json b/Assets/AppsFlyer/package.json index ffddf68f..1de1c036 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": "7.0.41-rc1", + "version": "7.0.41", "unity": "2023.1", "license": "MIT" } diff --git a/CHANGELOG.md b/CHANGELOG.md index e49d4e64..27c6c09f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,7 +25,7 @@ * Update Android unity-wrapper version - 7.0.16 * Update iOS Purchase Connector version - 7.0.4 * Update Android Purchase Connector version - 2.3.0 -* Unity plugin version - 7.0.41-rc1 +* Unity plugin version - 7.0.41 ## v7.0.4 * Update af-android-plugin-bridge version - 7.0.13 * Update AppsFlyerRPC version - 7.0.41 diff --git a/deploy/build_unity_package.sh b/deploy/build_unity_package.sh index 6fd87899..d958776c 100755 --- a/deploy/build_unity_package.sh +++ b/deploy/build_unity_package.sh @@ -6,7 +6,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)" DEPLOY_PATH="$SCRIPT_DIR/outputs" -PACKAGE_NAME="appsflyer-unity-plugin-7.0.41-rc1.unitypackage" +PACKAGE_NAME="appsflyer-unity-plugin-7.0.41.unitypackage" UNITY_BIN="${UNITY_PATH:-/Applications/Unity/Unity.app/Contents/MacOS/Unity}" EDM_PACKAGE="$REPO_ROOT/Assets/ExternalDependencyManager/Editor/external-dependency-manager-1.2.187.unitypackage" OUTPUT_DIR="$DEPLOY_PATH" diff --git a/deploy/strict_mode_build_package.sh b/deploy/strict_mode_build_package.sh index 13be8487..167d45be 100755 --- a/deploy/strict_mode_build_package.sh +++ b/deploy/strict_mode_build_package.sh @@ -6,7 +6,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)" DEPLOY_PATH="$SCRIPT_DIR/outputs" -PACKAGE_NAME="appsflyer-unity-plugin-strict-mode-7.0.41-rc1.unitypackage" +PACKAGE_NAME="appsflyer-unity-plugin-strict-mode-7.0.41.unitypackage" UNITY_BIN="${UNITY_PATH:-/Applications/Unity/Unity.app/Contents/MacOS/Unity}" EDM_PACKAGE="$REPO_ROOT/Assets/ExternalDependencyManager/Editor/external-dependency-manager-1.2.187.unitypackage" OUTPUT_DIR="$DEPLOY_PATH"