Skip to content

[AUTOMATIC] Release/4.25.0#2789

Merged
NachoSoto merged 3 commits into
mainfrom
release/4.25.0
Jul 11, 2023
Merged

[AUTOMATIC] Release/4.25.0#2789
NachoSoto merged 3 commits into
mainfrom
release/4.25.0

Conversation

@RCGitBot

@RCGitBot RCGitBot commented Jul 11, 2023

Copy link
Copy Markdown
Contributor

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

codecov Bot commented Jul 11, 2023

Copy link
Copy Markdown

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