Skip to content

Conversation

@StephenHodgson
Copy link

@StephenHodgson StephenHodgson commented Sep 22, 2025

Overview

This is a major breaking change refactor, that decouples the Monobehaviour requirements for the Purchases SDK.

  • Default RevenueCat namespace was added to all types.
    • Moved all types out of nested Purchases partial class into their own classes under the RevenueCat namespace
    • Refactored the data models to use Newtonsoft.Json serialization (using the built-in unity package)
  • Added a RevenueCatConfig scriptable object for developers to be able to configure the SDK settings in the new RevenueCat player projects settings window (or directly on the config.asset itself).
  • Added PurchashesSDK static class that is the central point of contact for developers to interact with the SDK
  • Refactored the native plugin wrappers and removed the Unity Send Event Implementations, and standardized the native interop and ensuring that all async tasks are returned to the unity main thread context.
  • Fixed missing dependency references to google external dependency resolver for automatic resolution when installing from OpenUPM

TODO

- Refactored the unity purchases sdk to decouple from MonoBehavior
@StephenHodgson StephenHodgson mentioned this pull request Sep 22, 2025
3 tasks
@StephenHodgson StephenHodgson linked an issue Sep 22, 2025 that may be closed by this pull request
@vegaro vegaro mentioned this pull request Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The demo app isn't enough to represent a real-world scenario Non MonoBehaviour implementation of Purchases.cs

1 participant