Commit Graph
10 Commits
Author SHA1 Message Date
Antonio Pallares af30b55cae Use RC API key for local development from local.xcconfig (#4795)
* feat: have testing apps take RevenueCat API key and Proxy URL from local.xcconfig file

* fix wording mistakes in `Local.xcconfig.SAMPLE`

* chore: include `ConfigItem.swift` file in `verify_no_included_apikeys` check

* fix more mistakes in comments
2025-02-19 09:48:25 +01:00
NachoSoto 1cab844f2b Trusted Entitlements: re-enable public API (#2621) 2023-07-11 07:34:39 -07:00
NachoSoto d80bcc99a8 PurchaseTester: fixed watchOS build and ASC deployment (#2701) 2023-06-25 22:49:28 -07:00
NachoSoto d2dc5c45dd PurchaseTester: fixed compilation for internal entitlement verification (#2417) 2023-04-19 13:42:56 -07:00
NachoSoto d9c49690f9 PurchaseTesterSwiftUI improvements (#2345) 2023-03-21 06:35:48 -07: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 a9aba75345 PurchaseTester: fixed macOS support (#2175) 2022-12-21 08:02:42 -08:00
NachoSoto 432b704dc7 Purchase Tester: added companion watchOS app (#2140)
I added this in order to debug #2132.

### Changes:
- Extracted `Core` framework to be used by both apps
- Added new `watchOS` target
- Changed `fastlane match` to also create profiles for this new target
- Added a simple view in the watch app that displays a text if an
entitlement is active, or a `restore` purchases button otherwise

This is just a starting point, we can add more to it in the future.

#### Note:
_Unfortunately I haven't been able to test this because of an Apple bug
(`FB11873951`):_


![incoming-722CC7FA-D970-4E23-AB88-50167248D98D](https://user-images.githubusercontent.com/685609/207672762-23abe3e7-6052-4b16-bdf2-7b1e502ffd81.PNG)
2022-12-21 07:31:58 -08:00
NachoSoto d8457c5e31 PurchaseTesterSwiftUI: added observer mode setting (#2052)
Can be useful when debugging observer mode.

<img width="734" alt="Screenshot 2022-11-14 at 09 48 21"
src="https://user-images.githubusercontent.com/685609/201731589-e412865d-d6e9-4032-afae-1ae191196c51.png">
2022-11-23 11:22:45 -06: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