Integration Tests: don't initialize Purchases until the SKTestSession has been re-created#1946
Merged
Merged
Conversation
…ssion` has been re-created
tonidero
approved these changes
Sep 28, 2022
|
|
||
| // Initialize `Purchases` *after* the fresh new session has been created | ||
| // (and transactions has been cleared), to avoid the SDK posting receipts from | ||
| // a previous test. |
NachoSoto
added a commit
to RevenueCat/purchases-hybrid-common
that referenced
this pull request
Sep 28, 2022
…` has been re-created Equivalent to RevenueCat/purchases-ios#1946
NachoSoto
added a commit
to RevenueCat/purchases-hybrid-common
that referenced
this pull request
Sep 28, 2022
…` has been re-created (#244) Equivalent to RevenueCat/purchases-ios#1946
NachoSoto
pushed a commit
that referenced
this pull request
Sep 28, 2022
**This is an automatic release.** ### Other Changes * `ProductsFetcherSK2`: removed now redundant caching logic (#1908) via NachoSoto (@NachoSoto) * Created `CachingProductsManager` to provide consistent caching logic when fetching products (#1907) via NachoSoto (@NachoSoto) * Refactored `ReceiptFetcher.receiptData` (#1941) via NachoSoto (@NachoSoto) * Abstracted conversion from `async` to completion-block APIs (#1943) via NachoSoto (@NachoSoto) * Moved `InAppPurchase` into `AppleReceipt` (#1942) via NachoSoto (@NachoSoto) * `Purchases+async`: combined `@available` statements into a single one (#1944) via NachoSoto (@NachoSoto) * `Integration Tests`: don't initialize `Purchases` until the `SKTestSession` has been re-created (#1946) via NachoSoto (@NachoSoto) * `PostReceiptDataOperation`: print receipt data if `debug` logs are enabled (#1940) via NachoSoto (@NachoSoto) Co-authored-by: RCGitBot <dev+RCGitBot@revenuecat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.