Skip to content

Redo Subtester app and fix Android emulators support#855

Merged
vegaro merged 6 commits into
mainfrom
cesar/redo-tester
Mar 11, 2026
Merged

Redo Subtester app and fix Android emulators support#855
vegaro merged 6 commits into
mainfrom
cesar/redo-tester

Conversation

@vegaro

@vegaro vegaro commented Mar 11, 2026

Copy link
Copy Markdown
Member

Summary

Completely redesigns the Subtester app using Unity's UI Toolkit, replacing the old PurchasesListener.cs.

New architecture:

  • TesterApp.cs — Main entry point with tab navigation, status bar, safe area handling
  • ScreenBase.cs — Abstract base class for feature screens with shared helpers
  • LogConsole.cs — Collapsible, scrollable log panel replacing the old single-label output
  • 7 feature screens: Identity, Offerings, Purchase, Customer Info, Paywalls, Attributes, Tools
  • DeepLinkListener.cs — Refactored with static events for integration with the new UI
  • Tester.uss — Light theme stylesheet matching RevenueCat brand colors

Android fixes:

  • Fixes running Subtester in emulators
  • Updated mainTemplate.gradle to Unity 6 format with **IL_CPP_BUILD_SETUP** and **DEFAULT_CONFIG_SETUP** placeholders, fixing Export Project + IL2CPP (previously libil2cpp.so was missing from exports).
  • Switched scripting backend from Mono to IL2CPP with ARM64 architecture
  • Set graphics API to automatic (was Vulkan-only, breaking emulators)
  • Bumped targetSdkVersion to 35 for Android 15 compatibility
  • Enabled settingsTemplate.gradle for AGP 8.8.2 compatibility

Removed:

  • PurchasesListener.cs (1464 lines) replaced by new modular screens
  • PaywallResultHandler.cs absorbed into PaywallScreen

@vegaro vegaro requested a review from a team as a code owner March 11, 2026 15:23
@vegaro vegaro added the pr:other Changes to our CI configuration files and scripts label Mar 11, 2026
@vegaro vegaro changed the title Redo Subtester app with UI Toolkit Redo Subtester app and fix Android emulators Mar 11, 2026
@vegaro vegaro changed the title Redo Subtester app and fix Android emulators Redo Subtester app and fix Android emulators support Mar 11, 2026
@vegaro vegaro requested a review from a team March 11, 2026 15:58
@vegaro vegaro force-pushed the cesar/redo-tester branch from 6e78389 to fd83209 Compare March 11, 2026 16:14

@tonidero tonidero left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it for a bit and it's looking great! Also love how the code is much better organized now and we can test on emulators 🙌

Comment thread Subtester/Assets/Plugins/Android/mainTemplate.gradle.backup Outdated
@@ -0,0 +1,405 @@
/* ── Reset default Unity theme ───────────────────── */

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL about uss files! Nice!

Comment thread Subtester/ProjectSettings/ProjectSettings.asset Outdated
Comment thread Subtester/Assets/Plugins/Android/settingsTemplate.gradle Outdated
@vegaro vegaro enabled auto-merge (squash) March 11, 2026 16:51
@vegaro vegaro merged commit d3e4a48 into main Mar 11, 2026
8 checks passed
@vegaro vegaro deleted the cesar/redo-tester branch March 11, 2026 17:01
ajpallares pushed a commit that referenced this pull request Mar 11, 2026
**This is an automatic release.**

## RevenueCat SDK
### ✨ New Features
* Add PurchaseLogic support for paywall presentation when
`PurchasesAreCompletedBy.MyApp` (#842) via Toni Rico (@tonidero)
### 📦 Dependency Updates
* [AUTOMATIC BUMP] Updates purchases-hybrid-common to 17.46.1 (#854) via
RevenueCat Git Bot (@RCGitBot)
* [Android
9.23.1](https://github.com/RevenueCat/purchases-android/releases/tag/9.23.1)
* [Android
9.23.0](https://github.com/RevenueCat/purchases-android/releases/tag/9.23.0)
* [iOS
5.61.0](https://github.com/RevenueCat/purchases-ios/releases/tag/5.61.0)
* [AUTOMATIC BUMP] Updates purchases-hybrid-common to 17.46.0 (#853) via
RevenueCat Git Bot (@RCGitBot)
* [Android
9.23.1](https://github.com/RevenueCat/purchases-android/releases/tag/9.23.1)
* [Android
9.23.0](https://github.com/RevenueCat/purchases-android/releases/tag/9.23.0)
* [iOS
5.61.0](https://github.com/RevenueCat/purchases-ios/releases/tag/5.61.0)
* [AUTOMATIC BUMP] Updates purchases-hybrid-common to 17.44.0 (#850) via
RevenueCat Git Bot (@RCGitBot)
* [Android
9.23.1](https://github.com/RevenueCat/purchases-android/releases/tag/9.23.1)
* [Android
9.23.0](https://github.com/RevenueCat/purchases-android/releases/tag/9.23.0)
* [iOS
5.61.0](https://github.com/RevenueCat/purchases-ios/releases/tag/5.61.0)

## RevenueCatUI SDK
### ✨ New Features
* Add full screen paywall presentation support (#839) via Cesar de la
Vega (@vegaro)

### 🔄 Other Changes
* Redo Subtester app and fix Android emulators support (#855) via Cesar
de la Vega (@vegaro)
* Support PaywallActivity screenOrientation manifest override (#844) via
Toni Rico (@tonidero)
* refactor: Use PaywallView instead of PaywallActivity on Android (#841)
via Toni Rico (@tonidero)
* Add API tests for Paywalls and CustomerCenter presenters (#735) via
Facundo Menzella (@facumenzella)
* Bump fastlane-plugin-revenuecat_internal from `f5c099b` to `e146447`
(#852) via dependabot[bot] (@dependabot[bot])
* Bump fastlane-plugin-revenuecat_internal from `8cd957f` to `f5c099b`
(#848) via dependabot[bot] (@dependabot[bot])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:other Changes to our CI configuration files and scripts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants