Skip to content

Conversation

@ajpallares
Copy link
Member

@ajpallares ajpallares commented Dec 12, 2025

Builds on the idea of #5913 and adds an @_spi(Internal) public EventsListener delegate that can be injected in Purchases at configuration time using the Builder's method:

@_spi(Internal) public func with(eventsListener: EventsListener?) -> Builder

The caller needs to get a strong reference to their EventsListener as it's stored as a weak reference in the SDK.

@emerge-tools
Copy link

emerge-tools bot commented Dec 12, 2025

⚠️ 1 new unused protocol, 1 build increased size

Name Version Download Change Install Change Approval
RevenueCat
com.revenuecat.PaywallsTester
1.0 (1) 16.8 MB ⬆️ 31.1 kB (0.19%) 59.9 MB ⬆️ 124.6 kB (0.21%) N/A

RevenueCat 1.0 (1)
com.revenuecat.PaywallsTester

⚠️ Found new unused protocol: EventsListener
⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬆️ 124.6 kB (0.21%)
Total download size change: ⬆️ 31.1 kB (0.19%)

Largest size changes

Item Install Size Change
DYLD.String Table ⬆️ 43.7 kB
RevenueCat.EventsManager.EventsManager ⬆️ 4.6 kB
Code Signature ⬆️ 2.7 kB
DYLD.Exports ⬆️ 1.9 kB
RevenueCat.Purchases.Purchases ⬆️ 552 B
View Treemap

Image of diff


🛸 Powered by Emerge Tools

Comment trigger: Size diff threshold of 100.00kB exceeded

@ajpallares ajpallares force-pushed the pallares/do-not-post-events-from-a-detached-task branch from e29cae3 to c1481a3 Compare December 15, 2025 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants