PostReceiptDataOperation: add new testReceiptIdentifier parameter#2722
Merged
Conversation
NachoSoto
commented
Jun 27, 2023
e7a0c1f to
28effba
Compare
Base automatically changed from
integration-tests-user-defaults-clearing
to
main
June 27, 2023 20:11
ead9100 to
b3e4114
Compare
NachoSoto
commented
Jun 27, 2023
67ed552 to
86d1160
Compare
PostReceiptDataOperation: add new overridable idfv parameterPostReceiptDataOperation: add new testReceiptIdentifier parameter
86d1160 to
2fc0b6a
Compare
2fc0b6a to
901399f
Compare
NachoSoto
commented
Jun 28, 2023
| case attributes | ||
| case aadAttributionToken | ||
| case presentedOfferingIdentifier | ||
| case testReceiptIdentifier = "receipt_id" |
Contributor
Author
There was a problem hiding this comment.
@antoniobg new parameter name. Does this look good?
1daa39b to
ab73061
Compare
Contributor
Author
|
Bump @RevenueCat/coresdk |
aboedo
approved these changes
Jul 4, 2023
d93bb59 to
e7fb8aa
Compare
…2733) Requested by @NachoSoto for [integration-test-idfv](https://github.com/RevenueCat/purchases-ios/tree/integration-test-idfv) Co-authored-by: Distiller <distiller@static.38.23.39.70.cyberlynk.net>
…2734) Requested by @NachoSoto for [integration-test-idfv](https://github.com/RevenueCat/purchases-ios/tree/integration-test-idfv) Co-authored-by: Distiller <distiller@static.38.39.184.32.cyberlynk.net>
…2736) Requested by @NachoSoto for [integration-test-idfv](https://github.com/RevenueCat/purchases-ios/tree/integration-test-idfv) Co-authored-by: Distiller <distiller@static.38.39.184.87.cyberlynk.net>
…2735) Requested by @NachoSoto for [integration-test-idfv](https://github.com/RevenueCat/purchases-ios/tree/integration-test-idfv) Co-authored-by: Distiller <distiller@static.38.39.183.166.cyberlynk.net>
…2737) Requested by @NachoSoto for [integration-test-idfv](https://github.com/RevenueCat/purchases-ios/tree/integration-test-idfv) Co-authored-by: Distiller <distiller@static.38.39.184.105.cyberlynk.net>
e7fb8aa to
159f1c3
Compare
Contributor
Author
|
I accidentally merged this in the wrong branch, so re-opened: #2749. |
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.
This allows the backend to disambiguate receipts that are coming from different test invocations.
With
SKTestSessionreceipts, the backend has limited information to disambiguate receipts coming from different tests. By adding a new UUID that we can re-generate in each test, we help the backend not mix receipts from separate tests.Note that the value sent in
X-Apple-Device-Identifieris unchanged (and verified with tests) because it's important that this is the realIDFV, since it's used to validateAppleReceipt.sha1Hash.Depends on https://github.com/RevenueCat/khepri/pull/6183