Skip to content

Paywalls: Remove PaywallActivity theme to pickup application's theme by default#1511

Merged
tonidero merged 1 commit into
mainfrom
remove-paywall-activity-theme
Dec 1, 2023
Merged

Paywalls: Remove PaywallActivity theme to pickup application's theme by default#1511
tonidero merged 1 commit into
mainfrom
remove-paywall-activity-theme

Conversation

@tonidero

@tonidero tonidero commented Dec 1, 2023

Copy link
Copy Markdown
Contributor

Description

Remove PaywallActivity's theme in order to pickup the application's theme if set.

@tonidero tonidero marked this pull request as ready for review December 1, 2023 12:00
@tonidero tonidero requested a review from a team December 1, 2023 12:00

@vegaro vegaro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Makes sense!!

@codecov

codecov Bot commented Dec 1, 2023

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0aa0651) 84.36% compared to head (13c0172) 84.36%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1511   +/-   ##
=======================================
  Coverage   84.36%   84.36%           
=======================================
  Files         218      218           
  Lines        7177     7177           
  Branches     1004     1004           
=======================================
  Hits         6055     6055           
  Misses        734      734           
  Partials      388      388           

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

@tonidero tonidero merged commit 916ae37 into main Dec 1, 2023
@tonidero tonidero deleted the remove-paywall-activity-theme branch December 1, 2023 12:20
This was referenced Dec 5, 2023
vegaro pushed a commit that referenced this pull request Dec 5, 2023
**This is an automatic release.**

### RevenueCatUI
* Paywalls: Add `PaywallFooterView` (#1509) via Toni Rico (@tonidero)
* Paywalls: Remove `PaywallActivity` theme to pickup application's theme
by default (#1511) via Toni Rico (@tonidero)
* Paywalls: Auto-close paywall activity if restore grants required
entitlement identifier (#1507) via Toni Rico (@tonidero)
### Bugfixes
* Improve pricePerYear price calculation precision (#1515) via Toni Rico
(@tonidero)
* Improve price per month accuracy for weekly subscriptions (#1504) via
Andy Boedo (@aboedo)
### Dependency Updates
* Bump danger from 9.4.0 to 9.4.1 (#1512) via dependabot[bot]
(@dependabot[bot])
### Other Changes
* Remove unnecessary appInBackground parameters (#1508) via Cesar de la
Vega (@vegaro)
* Create `PurchasesStateProvider` (#1502) via Cesar de la Vega (@vegaro)

Co-authored-by: revenuecat-ops <ops@revenuecat.com>
tonidero added a commit that referenced this pull request Dec 22, 2023
### Description
After #1511, in flutter/rn, we might display the action bar in the
paywall when being presented as an activity depending on the theme.


![image](https://github.com/RevenueCat/purchases-android/assets/808417/a00e05f5-01f0-4581-8c52-32497cb847a1)

This change makes sure we hide the action bar independently of the
theme.
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