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

Release/4.18.0-beta.1 #2335

Closed
wants to merge 2 commits into from
Closed

Release/4.18.0-beta.1 #2335

wants to merge 2 commits into from

Conversation

NachoSoto
Copy link
Contributor

@NachoSoto NachoSoto commented Mar 14, 2023

New Features

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

@NachoSoto NachoSoto requested a review from a team March 14, 2023 17:33
@NachoSoto NachoSoto force-pushed the release/4.18.0-beta.1 branch 2 times, most recently from 53e3e32 to b547450 Compare March 14, 2023 19:51
@NachoSoto
Copy link
Contributor Author

I'm preparing a 4.17.8 with a lot of small things in this release, so this changelog will be more condensed.

@NachoSoto NachoSoto force-pushed the release/4.18.0-beta.1 branch 3 times, most recently from 64b6c12 to bac3de2 Compare March 17, 2023 20:04
@NachoSoto
Copy link
Contributor Author

iOS 12 tests fixed by #2349, we'll need to rebase this when merged.

@NachoSoto NachoSoto marked this pull request as draft May 12, 2023 19:48
@NachoSoto
Copy link
Contributor Author

Closing in favor of #2632.

@NachoSoto NachoSoto closed this Jun 13, 2023
@NachoSoto NachoSoto deleted the release/4.18.0-beta.1 branch June 13, 2023 00:13
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.

Enable SSL Pinning to prevent MitM attack
2 participants