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

CustomEntitlementComputation: Add restorePurchases #1211

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

tonidero
Copy link
Contributor

Description

Adds restorePurchases functionality to the customEntitlementComputation package.

@tonidero tonidero added the refactor A code change that neither fixes a bug nor adds a feature label Aug 28, 2023
@codecov
Copy link

codecov bot commented Aug 28, 2023

Codecov Report

Merging #1211 (a4a65af) into main (2d8ed01) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1211   +/-   ##
=======================================
  Coverage   85.89%   85.89%           
=======================================
  Files         183      183           
  Lines        6251     6251           
  Branches      910      910           
=======================================
  Hits         5369     5369           
  Misses        536      536           
  Partials      346      346           
Files Changed Coverage Δ
...in/com/revenuecat/purchases/listenerConversions.kt 40.00% <ø> (-3.75%) ⬇️
.../revenuecat/purchases/ListenerConversionsCommon.kt 75.00% <100.00%> (+2.27%) ⬆️

@tonidero tonidero marked this pull request as ready for review August 28, 2023 20:17
@tonidero tonidero requested a review from a team August 29, 2023 14:55
@tonidero tonidero merged commit baad435 into main Aug 29, 2023
7 checks passed
@tonidero tonidero deleted the add-restore-purchases-custom-entitlement-computation branch August 29, 2023 16:06
This was referenced Aug 30, 2023
tonidero pushed a commit that referenced this pull request Aug 31, 2023
**This is an automatic release.**

### Dependency Updates
* Bump fastlane-plugin-revenuecat_internal from `b2108fb` to `a297205`
(#1210) via dependabot[bot] (@dependabot[bot])
### Other Changes
* Rename `queue` initiation source to `unsynced_active_purchases`
(#1214) via Toni Rico (@tonidero)
* Send `initiation_source` in post receipt requests (#1212) via Toni
Rico (@tonidero)
* CustomEntitlementComputation: Add `restorePurchases` (#1211) via Toni
Rico (@tonidero)
* Unify caching offerings and updating update timestamp (#1206) via Toni
Rico (@tonidero)

Co-authored-by: revenuecat-ops <ops@revenuecat.com>
tonidero added a commit that referenced this pull request Sep 21, 2023
### Description
We moved the restore purchases functionality to the
customEntitlementComputation library in #1211 but we didn't make the
coroutines version available as well. This fixes that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor A code change that neither fixes a bug nor adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants