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.
This is an automatic release.
New Features
Trusted Entitlements
: (Trusted Entitlements
: re-enable public API #2621) via NachoSoto (@NachoSoto)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.You can learn more from the documentation.
Other Changes
TrustedEntitlements
: newVerificationResult.isVerified
(TrustedEntitlements
: newVerificationResult.isVerified
#2788) via NachoSoto (@NachoSoto)Refactor
: extractedCollection.subscript(safe:)
(Refactor
: extractedCollection.subscript(safe:)
#2779) via NachoSoto (@NachoSoto)Trusted Entitlements
: added link to docs inErrorCode.signatureVerificationFailed
(Trusted Entitlements
: added link to docs inErrorCode.signatureVerificationFailed
#2783) via NachoSoto (@NachoSoto)Trusted Entitlements
: improved documentation (Trusted Entitlements
: improved documentation #2782) via NachoSoto (@NachoSoto)Tests
: fixed flaky failure with asynchronous check (Tests
: fixed flaky failure with asynchronous check #2777) via NachoSoto (@NachoSoto)Integration Tests
: re-enable signature verification tests (Integration Tests
: re-enable signature verification tests #2744) via NachoSoto (@NachoSoto)CI
: removeJazzy
(CI
: removeJazzy
#2775) via NachoSoto (@NachoSoto)Signing
: injectClockType
to ensure hardcoded signatures don't fail when intermediate key expires (Signing
: injectClockType
to ensure hardcoded signatures don't fail when intermediate key expires #2771) via NachoSoto (@NachoSoto)