Commit Graph
7 Commits
Author SHA1 Message Date
NachoSoto 1cab844f2b Trusted Entitlements: re-enable public API (#2621) 2023-07-11 07:34:39 -07:00
NachoSoto d2dc5c45dd PurchaseTester: fixed compilation for internal entitlement verification (#2417) 2023-04-19 13:42:56 -07:00
NachoSoto 3af5fba011 Made Configuration.EntitlementVerificationMode.enforced unavailable (#2329)
Depends on #2326 and #2328.

This allows us to keep all the code, except users won't be able to
configure the SDK with this option.
Note that `Signing.ResponseVerificationMode.enforced` _is_ available, so
we can still test all that behavior, including from integration tests.
2023-03-13 11:42:52 -07:00
NachoSoto 920f3fe4e3 PurchaseTester: fixed compilation from verification API changes (#2328) 2023-03-07 09:41:36 -08:00
NachoSoto 80e1871866 PurchaseTester: added ability to reload CustomerInfo with a custom CacheFetchPolicy (#2312)
This will help testing cache invalidation in the context of signature
verification.
See
https://linear.app/revenuecat/issue/SDK-2873/invalidate-devicecache-cache-if-entitlement-verification-is-missing

![Screenshot 2023-02-21 at 14 45
17](https://user-images.githubusercontent.com/685609/220475952-e64689e7-ac98-485b-9f13-3e38b9db4e02.png)
2023-02-22 09:10:19 -08:00
NachoSoto 80b29a8ca2 PurchaseTester: added ability to set Configuration.EntitlementVerificationMode (#2290)
<img width="832" alt="Screenshot 2023-02-15 at 16 11 44"
src="https://user-images.githubusercontent.com/685609/219228654-220d7596-aca3-4fa6-8c5c-466173c00865.png">
<img width="916" alt="Screenshot 2023-02-15 at 16 48 00"
src="https://user-images.githubusercontent.com/685609/219229250-47fe810a-7289-4dd8-a1cd-2b6ca49f6438.png">
<img width="372" alt="Screenshot 2023-02-15 at 16 51 41"
src="https://user-images.githubusercontent.com/685609/219229746-91906749-d2df-42b4-8075-e58865061988.png">
2023-02-21 14:40:53 -08:00
NachoSoto 2773783274 PurchaseTesterSwiftUI: allow configuring API key at runtime (#1999)
Fixes [CSDK-456].

### Configuration screen:
![Simulator Screen Shot - iPhone 13 Pro Max - 2022-10-25 at 15 02
26](https://user-images.githubusercontent.com/685609/197890837-3160d9cd-72e0-45d7-8e9e-f248b0dd93c5.png)

### Displaying errors:
_Note that if you enter an invalid API key and there's a credentials
issue, you can tap on "reconfigure" to start over:

![Simulator Screen Shot - iPhone 13 Pro - 2022-10-26 at 13 35
42](https://user-images.githubusercontent.com/685609/198134117-d80f7c28-922b-4c48-be83-9b8ec03de299.png)

[CSDK-456]:
https://revenuecats.atlassian.net/browse/CSDK-456?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
2022-11-03 14:44:42 -07:00