Commit Graph
5 Commits
Author SHA1 Message Date
NachoSoto d80bcc99a8 PurchaseTester: fixed watchOS build and ASC deployment (#2701) 2023-06-25 22:49:28 -07:00
NachoSoto dd2e161199 Purchase Tester: added button to clear messages on logger view (#2179)
See #2012.
This is useful when debugging some feature. You can now clear the logs
before performing whatever action you need to test, and have a cleaner
output with only the logs from that point.

![Screenshot 2022-12-20 at 13 40
18](https://user-images.githubusercontent.com/685609/208772324-7433194b-2274-4d18-a64b-ad42fd30900e.png)
2022-12-21 08:19:09 -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 37591adb62 PurchaseTesterSwiftUI: replaced Purchases dependency with SPM (#2027) 2022-11-08 04:37:27 -08:00
NachoSoto 1d008932dc PurchaseTesterSwiftUI: added "logs" screen (#2012)
Since `PurchaseTester` will be used through `TestFlight`, I made it
possible to view console logs directly from the app:

## iOS


![IMG_5974](https://user-images.githubusercontent.com/685609/198735797-c5f6b4ed-edfb-42dc-a470-452201a03645.PNG)

## Catalyst

![Screenshot 2022-10-28 at 14 29
32](https://user-images.githubusercontent.com/685609/198735975-34d34b8e-491e-4b8d-8df9-eb2e58ff94c7.png)
2022-11-03 14:47:01 -07:00