Conversation
Co-authored-by: Cesar de la Vega <664544+vegaro@users.noreply.github.com>
…es-unity into feat/add-revenuecatui
…es-unity into feat/add-revenuecatui
295413b to
b4b74b2
Compare
b4b74b2 to
f2ce43a
Compare
vegaro
reviewed
Oct 3, 2025
RevenueCatUI/Scripts/Platforms/Android/AndroidPaywallPresenter.cs
Outdated
Show resolved
Hide resolved
vegaro
reviewed
Oct 3, 2025
facumenzella
commented
Oct 3, 2025
| using RevenueCatUI.Internal; | ||
|
|
||
| namespace RevenueCat.UI.Platforms | ||
| namespace RevenueCatUI.Internal.Platforms |
vegaro
reviewed
Oct 3, 2025
RevenueCatUI/Scripts/UI.cs
Outdated
| try | ||
| { | ||
| Debug.Log("[RevenueCatUI] Presenting paywall..."); | ||
| Debug.Log("[RevenueCat.UI] Presenting paywall..."); |
vegaro
reviewed
Oct 3, 2025
| using System; | ||
| using System.Threading.Tasks; | ||
| using UnityEngine; | ||
| using RevenueCatUI.Internal; |
vegaro
approved these changes
Oct 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
🎯 New API Structure
The refactored API provides a clean, consistent interface that's easy to discover and use:
Static Presentation API
Configuration & Results
MonoBehaviour API
🔧 What Changed
✅ Added
RevenueCatUI.PaywallsPresenter- Main static API class with clean method namesRevenueCatUI.PaywallsBehaviour- MonoBehaviour component for scene integrationPaywalls*conventionThe new API delivers exactly what developers expect: clean, discoverable methods that do exactly what their names suggest, with no confusion about namespaces or redundant parameters. 🚀