diff --git a/.github/workflows/e2e-manual.yml b/.github/workflows/e2e-manual.yml index 507c57e8..114d43df 100644 --- a/.github/workflows/e2e-manual.yml +++ b/.github/workflows/e2e-manual.yml @@ -29,7 +29,7 @@ permissions: jobs: build-package: name: Build Unity package for manual E2E - runs-on: macos-14 + runs-on: macos-15 outputs: artifact_name: ${{ steps.resolve.outputs.artifact_name }} regular_package: ${{ steps.resolve.outputs.regular_package }} @@ -89,7 +89,7 @@ jobs: uses: actions/cache@v4 with: path: /Applications/Unity/Unity.app - key: unity-6000.5.6f1-core-macos14-arm64 + key: unity-6000.5.6f1-core-macos15-arm64 - name: Install Unity Editor if: inputs.release_tag == '' && steps.cache-unity.outputs.cache-hit != 'true' diff --git a/.github/workflows/release_production_workflow.yml b/.github/workflows/release_production_workflow.yml index 4bf41522..645749cb 100644 --- a/.github/workflows/release_production_workflow.yml +++ b/.github/workflows/release_production_workflow.yml @@ -83,7 +83,7 @@ jobs: Build-Production-Packages: needs: [Prepare-Release] - runs-on: macos-14 + runs-on: macos-15 outputs: artifact_name: ${{ steps.artifact.outputs.name }} steps: @@ -101,7 +101,7 @@ jobs: uses: actions/cache@v4 with: path: /Applications/Unity/Unity.app - key: unity-6000.3.5f1-core-macos14-arm64 + key: unity-6000.3.5f1-core-macos15-arm64 - name: Install Unity Editor if: steps.cache-unity.outputs.cache-hit != 'true' diff --git a/Assets/AppsFlyer/AppsFlyer.cs b/Assets/AppsFlyer/AppsFlyer.cs index 756396dd..6760d4f1 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"; + public static readonly string kAppsFlyerPluginVersion = "7.0.42"; 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 1de1c036..31a0f313 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", + "version": "7.0.42", "unity": "2023.1", "license": "MIT" } diff --git a/CHANGELOG.md b/CHANGELOG.md index e27ba165..bdb48460 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,12 @@ Billing 7 / Unity IAP 4.x is not supported. Apps that don't call `AppsFlyerPurchaseConnector` are unaffected. +* 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.42 ## 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 diff --git a/deploy/build_unity_package.sh b/deploy/build_unity_package.sh index d958776c..e03b5452 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.unitypackage" +PACKAGE_NAME="appsflyer-unity-plugin-7.0.42.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 167d45be..ee9d4fe4 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.unitypackage" +PACKAGE_NAME="appsflyer-unity-plugin-strict-mode-7.0.42.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/scripts/af-scenario-runner.sh b/scripts/af-scenario-runner.sh index 1ba2131a..ebeb5d0f 100755 --- a/scripts/af-scenario-runner.sh +++ b/scripts/af-scenario-runner.sh @@ -211,7 +211,10 @@ android_launch() { # which holds only ~10-20s at typical Unity rates. adb logcat -G 32m 2>/dev/null || true adb logcat -c - adb shell am start -n "${PACKAGE_NAME}/${ACTIVITY}" 2>/dev/null || \ + # -force-gles: Development builds crash on the emulator's Vulkan (Unity SIGSEGV in + # vk::DebugToolsUtils::SetVkDebugObjectName, host gfxstream on Apple Silicon). Unity reads + # the "unity" intent extra as command-line args; GLES3 avoids the Vulkan debug-label path. + adb shell am start -n "${PACKAGE_NAME}/${ACTIVITY}" -e unity "-force-gles" 2>/dev/null || \ adb shell monkey -p "$PACKAGE_NAME" -c android.intent.category.LAUNCHER 1 2>/dev/null } @@ -272,7 +275,7 @@ android_background_app() { android_trigger_deeplink() { local url="$1" log_info "Triggering deep link: $url" - adb shell am start -W -a android.intent.action.VIEW -d "$url" + adb shell am start -W -a android.intent.action.VIEW -d "$url" -e unity "-force-gles" } android_is_alive() {