Skip to content

Release 7.0.42-rc1 - #452

Merged
af-obodovskyi merged 11 commits into
masterfrom
releases/7.x.x/7.0.x/7.0.42-rc1
Nov 25, 2026
Merged

af-obodovskyi merged 11 commits into
masterfrom
releases/7.x.x/7.0.x/7.0.42-rc1

Conversation

@github-actions

Copy link
Copy Markdown

RC release branch for 7.0.42-rc1. Promotion is gated by rc-smoke/github-release.

af-obodovskyi and others added 10 commits November 24, 2026 15:45
Align development with master
purchase-connector:2.3.0 was commented out in AppsFlyerDependencies.xml on
the assumption that AGP 8 hard-fails on its manifest-package collision with
af-android-sdk (both "com.appsflyer") and that android.uniquePackageNames
does not help. Both were wrong: AGP 8.x only warns, and AGP 9.0 turns the
warning into an error by flipping android.uniquePackageNames to true, so
setting it back to false is the opt-out. With the dependency disabled,
Android Purchase Connector calls were no-ops for every integrator.

- Re-enable com.appsflyer:purchase-connector:2.3.0 in AppsFlyerDependencies.xml.
- test-app: set android.uniquePackageNames=false in gradleTemplate.properties
  and enable the custom Gradle properties template so it is actually applied.
- README: replace the incorrect AGP 8 note with AGP 9 guidance.
- AppsFlyerPurchaseConnector: keep the missing-class guard, update the
  comment and warning text that claimed the dependency was disabled.
- CHANGELOG: Unreleased entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…LIVERY-137580)

AGP 9 fails the build on the shared "com.appsflyer" namespace of
purchase-connector and af-android-sdk unless android.uniquePackageNames
is false. No released README ever told integrators to set it (the only
note said the flag does not help), so requiring a manual step would break
AGP 9 builds on upgrade.

- New AppsFlyerGradlePropertiesProcessor (IPostGenerateGradleAndroidProject)
  appends android.uniquePackageNames=false to the generated gradle.properties
  unless the project already sets the property. Opt out with the scripting
  define APPSFLYER_DISABLE_UNIQUE_PACKAGE_NAMES_FIX.
- test-app: drop the manual flag so its builds rely on the processor.
- README, CHANGELOG, AppsFlyerDependencies.xml comment updated.

Verified with clean test-app builds: AGP 9.0.0 (Unity 6000.5.6f1) and
AGP 8.10.0 (Unity 6000.3.5f1) succeed with PC in the APK; with the
template setting the property to true the processor leaves it and AGP 9
fails with the namespace error.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…580)

DELIVERY-137580 went unnoticed because nothing in E2E exercised Purchase
Connector: with purchase-connector commented out of AppsFlyerDependencies.xml
the C# guard turned every call into a no-op and all checks still passed.

- test-app: QATestScript initialises Purchase Connector (init, build,
  startObservingTransactions) before start() on Android. TestAppDependencies.xml
  adds Play Billing 8.0.0, which purchase-connector only declares compileOnly.
- test-plan: new Android-only phase_8 (E2E-008). It requires the native
  "[PurchaseConnector]: Start Observing Transactions" and onBillingSetupFinished
  logs and fails on the guard's "Purchase Connector is unavailable" warning,
  NoClassDefFoundError or FATAL.
- rc-e2e-android: APK verification fails the job if
  com/appsflyer/api/PurchaseClient is missing from the dex.

Local run on an API 35 Play Store emulator with an APK built on Unity
6000.3.5f1 (CI version): 43/43 checks passed across phase_1-6 and phase_8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When PurchaseConnector isn't linked, AppsFlyeriOSWrapper.mm compiles silent
no-op stubs, so a missing iOS Purchase Connector would go unnoticed the same
way the Android one did.

- test-app: QATestScript also sets up Purchase Connector on iOS
  (setStoreKitVersion(SK2) in addition to the Android calls).
- test-plan: new iOS-only phase_9 (E2E-009). It requires the native
  "[PurchaseConnector] AppsFlyerARS has been set to Sandbox environment" and
  "Resolved cached PurchaseConnectorEvents" logs and fails on
  "Library not loaded", "unrecognized selector" or FATAL.
- af-scenario-runner: iOS log collection passes --info to `log show`. The
  AppsFlyer SDK logs at os_log Info level, which `log show` drops by default,
  so no native SDK line ever reached the checks. None of the existing absent
  patterns match the extra Info lines.
- rc-e2e-ios: new step fails the job if PurchaseConnector.framework is not
  embedded or UnityFramework does not reference the PurchaseConnector class
  (i.e. the wrapper was compiled with the stubs). Avoids grep -q so the
  check stays correct under pipefail.

Local run on an iPhone 16 Pro / iOS 18.6 simulator (Unity 6000.5.6f1,
Xcode 27, SPM): 48/48 checks passed across phase_1-7 and phase_9; the new
workflow step passes against the built .app.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- test-plan: drop absent patterns the runner's log filter can never see
  (Android NoClassDefFoundError, iOS "Library not loaded" / "unrecognized
  selector"). The positive native [PurchaseConnector] checks remain the
  guard; the Android guard warning check stays because it carries the
  [AppsFlyer] tag.
- af-scenario-runner: add PurchaseConnector to the iOS log filter so the
  native lines don't depend on the lowercase subsystem prefix.
- rc-e2e-ios: check the PurchaseConnector class symbol first (defined or
  undefined) and require the embedded framework only when it is linked
  dynamically; fix the regex to match nm -m's "(from PurchaseConnector)"
  suffix.
- AppsFlyerGradlePropertiesProcessor: remove the UNITY_ANDROID guard so a
  scripted Android build started from another active platform still gets
  the hook. IPostGenerateGradleAndroidProject lives in
  UnityEditor.CoreModule, so it compiles without the Android module.
- AppsFlyerPurchaseConnector: the unavailable warning also names a missing
  or older Play Billing Library 8 as a cause.
- README, docs/purchase-connector.md, CHANGELOG: the app must provide
  Billing 8.x (e.g. Unity IAP 5.x); Billing 7 / Unity IAP 4.x is not
  supported.

Verified: without Billing, both an R8 release build and a dev build build
and run without crashing (guard warning logged, start SUCCESS, all
requests HTTP 200); the iOS Unity export compiles the processor without
UNITY_ANDROID; the iOS CI step passes on a real build and fails on a
binary without the symbol.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e-android-purchase-connector

Dev/delivery 137580/reenable android purchase connector
@af-obodovskyi
af-obodovskyi self-requested a review November 25, 2026 17:39
af-obodovskyi
af-obodovskyi previously approved these changes Nov 25, 2026
@af-obodovskyi af-obodovskyi added the pass QA ready for deploy QA approved. Triggers RC-PROMOTE: strips -rc suffix on release PRs to master after rc-smoke passes. label Nov 25, 2026
@github-actions

Copy link
Copy Markdown
Author

RC-PROMOTE complete. Version surfaces and installation links now point at 7.0.42, and the branch is ready to merge.

@af-obodovskyi
af-obodovskyi merged commit a7ebf20 into master Nov 25, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pass QA ready for deploy QA approved. Triggers RC-PROMOTE: strips -rc suffix on release PRs to master after rc-smoke passes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants