Skip to content

CustomEntitlementComputation: Add restorePurchases#1211

Merged
tonidero merged 1 commit into
mainfrom
add-restore-purchases-custom-entitlement-computation
Aug 29, 2023
Merged

CustomEntitlementComputation: Add restorePurchases#1211
tonidero merged 1 commit into
mainfrom
add-restore-purchases-custom-entitlement-computation

Conversation

@tonidero

Copy link
Copy Markdown
Contributor

Description

Adds restorePurchases functionality to the customEntitlementComputation package.

@codecov

codecov Bot commented Aug 28, 2023

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.89%. Comparing base (2d8ed01) to head (a4a65af).
Report is 521 commits behind head on main.

Additional details and impacted files
@@           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           

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

@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
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants