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

Revert making PaywallFooterView an AbstractComposeView #1598

Merged
merged 2 commits into from
Feb 6, 2024

Conversation

vegaro
Copy link
Contributor

@vegaro vegaro commented Feb 5, 2024

#1589 made PaywallFooterView an AbstractComposeView, which broke React Native's implementation because we override onMeasure which is final in AbstractComposeView

@vegaro vegaro added the fix A bug fix label Feb 5, 2024
@vegaro vegaro requested a review from a team February 5, 2024 19:17
@vegaro
Copy link
Contributor Author

vegaro commented Feb 5, 2024

cc: @Jjastiny since you added this it might be of your interest

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.

LGTM!

@Jjastiny
Copy link
Contributor

Jjastiny commented Feb 5, 2024

@vegaro Gotcha, I'll take a look. maybe another way to measure on the creation.

@vegaro
Copy link
Contributor Author

vegaro commented Feb 5, 2024

also please note I haven't reverted the changes on PaywallView since we don't override onMeasure there

Copy link

codecov bot commented Feb 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (506b537) 83.71% compared to head (049fe1e) 83.71%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1598   +/-   ##
=======================================
  Coverage   83.71%   83.71%           
=======================================
  Files         218      218           
  Lines        7260     7260           
  Branches     1011     1011           
=======================================
  Hits         6078     6078           
  Misses        788      788           
  Partials      394      394           

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

@vegaro vegaro merged commit 6e5b6b8 into main Feb 6, 2024
9 checks passed
@vegaro vegaro deleted the revert-composeview-change branch February 6, 2024 15:58
vegaro pushed a commit that referenced this pull request Feb 6, 2024
**This is an automatic release.**

### New Features
* [EXTERNAL] Exposing fontprovider setter in `PaywallView` and
`PaywallFooterView` by @Jjastiny (#1589) via Toni Rico (@tonidero)
### RevenueCatUI
* `Paywalls`:  add 4 new variables (#1599) via NachoSoto (@NachoSoto)
### Bugfixes
* Catch Exception instead of only IllegalArgumentException when decoding
paywallData (#1601) via Cesar de la Vega (@vegaro)
* Revert making PaywallFooterView an AbstractComposeView (#1598) via
Cesar de la Vega (@vegaro)
* Add missing forwarding to `PaywallListener.onPurchaseCancelled`
(#1590) via Cesar de la Vega (@vegaro)
### Dependency Updates
* Bump danger from 9.4.2 to 9.4.3 (#1597) via dependabot[bot]
(@dependabot[bot])
### Other Changes
* Update CHANGELOG with 6.9.6 release notes (#1596) via Toni Rico
(@tonidero)

Co-authored-by: revenuecat-ops <ops@revenuecat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix A bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants