Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New Features
Configuration.EntitlementVerificationMode
andVerificationResult
(IntroducedConfiguration.EntitlementVerificationMode
andVerificationResult
#2277) via NachoSoto (@NachoSoto)PurchasesDiagnostics
: added step to verify signature verification (PurchasesDiagnostics
: added step to verify signature verification #2267) via NachoSoto (@NachoSoto)HTTPClient
: added signature verification and introducedErrorCode.signatureVerificationFailed
(HTTPClient
: added signature validation and introducedErrorCode.signatureVerificationFailed
#2272) via NachoSoto (@NachoSoto)Introducing Trusted Entitlements (beta):
Fixes #1900.
This new feature prevents MitM attacks between the SDK and the RevenueCat server.
With verification enabled, the SDK ensures that the response created by the server was not modified by a third-party, and the entitlements received are exactly what was sent.
This is 100% opt-in.
EntitlementInfos
have a newVerificationResult
property, which will indicate the validity of the responses when this feature is enabled.Other Changes
CustomerInfo
: use same grace period logic for active subscriptions (CustomerInfo
: use same grace period logic for active subscriptions #2327) via NachoSoto (@NachoSoto)EntitlementInfo
: request date is not optional (EntitlementInfo
: request date is not optional #2325) via NachoSoto (@NachoSoto)EntitlementInfo
: add a grace period limit to outdated entitlements (EntitlementInfo
: add a grace period limit to outdated entitlements #2288) via NachoSoto (@NachoSoto)CustomerInfo.requestDate
from 304 responses (UpdateCustomerInfo.requestDate
from 304 responses #2310) via NachoSoto (@NachoSoto)HTTPClient
: changed header search to be case-insensitive (HTTPClient
: changed header search to be case-insensitive #2308) via NachoSoto (@NachoSoto)PurchaseTester
: added ability to reloadCustomerInfo
with a customCacheFetchPolicy
(PurchaseTester
: added ability to reloadCustomerInfo
with a customCacheFetchPolicy
#2312) via NachoSoto (@NachoSoto)usesStoreKit2IfAvailable
(DeprecateusesStoreKit2IfAvailable
#2293) via Andy Boedo (@aboedo)