Skip to content

chore: Add integration test for analytics events#4830

Merged
facumenzella merged 2 commits into
mainfrom
chore/test-events-work
Feb 28, 2025
Merged

chore: Add integration test for analytics events#4830
facumenzella merged 2 commits into
mainfrom
chore/test-events-work

Conversation

@facumenzella

Copy link
Copy Markdown
Member

Motivation

This week we realized some events were not being sent to the backend. Even more, when we tried to add it we realized they errored out.

Mimics RevenueCat/purchases-android#2189

Description

This PR adds a basic test to just make sure nothing's broken Ideally, the list of events should be generated somehow, but for now this is enough IMO.

Next steps

  1. Refactor PaywallEventsManager to EventsManager
  2. Move analytics debug logs from Strings.paywalls to Strings.analytics

@facumenzella facumenzella enabled auto-merge (squash) February 28, 2025 13:40
@facumenzella facumenzella merged commit fde4e13 into main Feb 28, 2025
@facumenzella facumenzella deleted the chore/test-events-work branch February 28, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants