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 #2789

Merged
merged 3 commits into from
Jul 11, 2023
Merged

[AUTOMATIC] Release/4.25.0 #2789

merged 3 commits into from
Jul 11, 2023

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.isVerified {
  print("Entitlements could not be verified")
}

You can learn more from the documentation.

Other Changes

@RCGitBot RCGitBot requested a review from a team July 11, 2023 18:13
@codecov
Copy link

codecov bot commented Jul 11, 2023

Codecov Report

Merging #2789 (8d16e02) into main (be5ce74) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2789      +/-   ##
==========================================
+ Coverage   86.49%   86.51%   +0.01%     
==========================================
  Files         214      214              
  Lines       15390    15390              
==========================================
+ Hits        13312    13314       +2     
+ Misses       2078     2076       -2     
Impacted Files Coverage Δ
Sources/Misc/SystemInfo.swift 98.38% <100.00%> (ø)

... and 2 files with indirect coverage changes

@NachoSoto NachoSoto merged commit a5b1620 into main Jul 11, 2023
2 checks passed
@NachoSoto NachoSoto deleted the release/4.25.0 branch July 11, 2023 20:48
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