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

[AUTOMATIC] Release/4.25.0 #2787

Closed
wants to merge 3 commits into from
Closed

[AUTOMATIC] Release/4.25.0 #2787

wants to merge 3 commits into from

Conversation

RCGitBot
Copy link
Contributor

@RCGitBot RCGitBot commented Jul 11, 2023

This is an automatic release.

New Features

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 new VerificationResult property, which will indicate the validity of the responses when this feature is enabled.

let purchases = Purchases.configure(
  with: Configuration
    .builder(withAPIKey: "")
    .with(entitlementVerificationMode: .informational)
)
let customerInfo = try await purchases.customerInfo()
if customerInfo.entitlements.verification != .verified {
  print("Entitlements could not be verified")
}

Other Changes

@RCGitBot RCGitBot requested a review from a team July 11, 2023 17:19
@NachoSoto
Copy link
Contributor

Closing to include #2788.

@NachoSoto NachoSoto closed this Jul 11, 2023
@NachoSoto NachoSoto deleted the release/4.25.0 branch July 11, 2023 17:55
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