Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Delete key from customer center survey event #2204

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

facumenzella
Copy link
Contributor

Motivation

This is the counterpart of RevenueCat/purchases-ios#4837

Description

survey_option_title_key is ignored in the backend, so there's no need to have it here.
This PR removes it and adds a test that verifies backwards compatibility with stored events. However, I think we should move to an implementation similar to iOS, where the StoredEvents contains an already encoded version of the event. That would remove any need to test backwards compatibility.

@facumenzella facumenzella requested a review from a team February 28, 2025 15:31
Copy link

emerge-tools bot commented Feb 28, 2025

📸 Snapshot Test

Error generating snapshot comparison

Name Error message
TestPurchasesUIAndroidCompatibility
com.revenuecat.testpurchasesuiandroidcompatibility
No snapshot tests ran.

🛸 Powered by Emerge Tools

Copy link

codecov bot commented Feb 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.47%. Comparing base (a31c2a2) to head (58dc54d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2204      +/-   ##
==========================================
- Coverage   80.54%   80.47%   -0.07%     
==========================================
  Files         277      277              
  Lines        9456     9460       +4     
  Branches     1334     1335       +1     
==========================================
- Hits         7616     7613       -3     
- Misses       1280     1287       +7     
  Partials      560      560              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@tonidero tonidero left a comment

Choose a reason for hiding this comment

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

Looks good!

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