Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InAppBillingPurchase comparer to consider TransactionDateUtc #253

Merged

Conversation

dmariogatto
Copy link
Contributor

Fixes #175 .

Changes Proposed in this pull request:

For auto-renew iOS subscriptions there can be multiple receipts. Presently if there is more than one receipt GetPurchasesAsync is picking one randomly to return. This is because the InAppBillingPurchaseComparer does not take into account TransactionDateUtc which is what differentiates these receipts.

This change will return all valid subscription receipts.

@jamesmontemagno jamesmontemagno merged commit 3badebc into jamesmontemagno:master Jun 1, 2020
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.

Missing the last purchase when calling GetPurchasesAsync
2 participants