Skip to content

PurchaseTesterSwiftUI: added "logs" screen#2012

Merged
NachoSoto merged 1 commit into
mainfrom
purchase-tester-logs
Nov 3, 2022
Merged

PurchaseTesterSwiftUI: added "logs" screen#2012
NachoSoto merged 1 commit into
mainfrom
purchase-tester-logs

Conversation

@NachoSoto

@NachoSoto NachoSoto commented Oct 28, 2022

Copy link
Copy Markdown
Contributor

Since PurchaseTester will be used through TestFlight, I made it possible to view console logs directly from the app:

iOS

IMG_5974

Catalyst

Screenshot 2022-10-28 at 14 29 32

@NachoSoto NachoSoto added the test label Oct 28, 2022
@NachoSoto NachoSoto requested review from a team October 28, 2022 21:29

@aboedo aboedo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:chefskiss:

Base automatically changed from purchase-tester-api-key-2 to main November 3, 2022 21:44
@NachoSoto NachoSoto force-pushed the purchase-tester-logs branch from 484d3cc to 154af42 Compare November 3, 2022 21:45
@NachoSoto NachoSoto merged commit 1d00893 into main Nov 3, 2022
@NachoSoto NachoSoto deleted the purchase-tester-logs branch November 3, 2022 21:47
NachoSoto pushed a commit that referenced this pull request Nov 9, 2022
**This is an automatic release.**

### Bugfixes
* `ISO8601DateFormatter.withMilliseconds`: fixed iOS 11 crash (#2037)
via NachoSoto (@NachoSoto)
* Changed `StoreKit2Setting.default` back to
`.enabledOnlyForOptimizations` (#2022) via NachoSoto (@NachoSoto)
### Other Changes
* `Integration Tests`: changed weekly to monthly subscriptions to work
around 0-second subscriptions (#2042) via NachoSoto (@NachoSoto)
* `Integration Tests`: fixed `testPurchaseWithAskToBuyPostsReceipt`
(#2040) via NachoSoto (@NachoSoto)
* `ReceiptRefreshPolicy.retryUntilProductIsFound`: default to returning
"invalid" receipt (#2024) via NachoSoto (@NachoSoto)
* `CachingProductsManager`: use partial cached products (#2014) via
NachoSoto (@NachoSoto)
* Added `BackendErrorCode.purchasedProductMissingInAppleReceipt` (#2033)
via NachoSoto (@NachoSoto)
* `PurchaseTesterSwiftUI`: replaced `Purchases` dependency with `SPM`
(#2027) via NachoSoto (@NachoSoto)
* `Integration Tests`: changed log output to `raw` (#2031) via NachoSoto
(@NachoSoto)
* `Integration Tests`: run on iOS 16 (#2035) via NachoSoto (@NachoSoto)
* CI: fixed `iOS 14` tests Xcode version (#2030) via NachoSoto
(@NachoSoto)
* `Async.call`: added non-throwing overload (#2006) via NachoSoto
(@NachoSoto)
* Documentation: Fixed references in `V4_API_Migration_guide.md` (#2018)
via NachoSoto (@NachoSoto)
* `eligiblePromotionalOffers`: don't log error if response is ineligible
(#2019) via NachoSoto (@NachoSoto)
* Runs push-pods after make-release (#2025) via Cesar de la Vega
(@vegaro)
* Some updates on notify-on-non-patch-release-branches: (#2026) via
Cesar de la Vega (@vegaro)
* Deploy `PurchaseTesterSwiftUI` to TestFlight (#2003) via NachoSoto
(@NachoSoto)
* `PurchaseTesterSwiftUI`: added "logs" screen (#2012) via NachoSoto
(@NachoSoto)
* `PurchaseTesterSwiftUI`: allow configuring API key at runtime (#1999)
via NachoSoto (@NachoSoto)
NachoSoto added a commit that referenced this pull request Dec 21, 2022
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants