-
Notifications
You must be signed in to change notification settings - Fork 52
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
[Paywalls] Add default locale #1809
Conversation
7337d75
to
8b2dfed
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1809 +/- ##
==========================================
- Coverage 82.84% 82.78% -0.06%
==========================================
Files 222 222
Lines 7670 7680 +10
Branches 1077 1081 +4
==========================================
+ Hits 6354 6358 +4
- Misses 894 899 +5
- Partials 422 423 +1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
purchases/src/main/kotlin/com/revenuecat/purchases/paywalls/PaywallData.kt
Outdated
Show resolved
Hide resolved
…ywallData.kt Co-authored-by: Toni Rico <toni.rico.diez@revenuecat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
**This is an automatic release.** ### New Features * [Paywalls] Add default locale (#1809) via Josh Holtz (@joshdholtz) * [Paywalls] Support to round+truncate prices displayed on paywalls for backend-specified countries (#1806) via James Borthwick (@jamesrb1) ### Other Changes * Publish paywall tester on each release (#1803) via Toni Rico (@tonidero) --------- Co-authored-by: revenuecat-ops <ops@revenuecat.com> Co-authored-by: Josh Holtz <me@joshholtz.com>
Motivation
Support new
default_locale
property in paywall dataDescription
If localization for preferred language isn't found, use the default locale before falling back to the first locale.
Demo
Screen.Recording.2024-08-18.at.10.52.24.PM.mov