Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Fix incorrect json key in queryPurchasesAsync response #6174

Merged
merged 4 commits into from
Aug 3, 2022

Conversation

GaryQian
Copy link
Contributor

@GaryQian GaryQian commented Aug 2, 2022

@GaryQian
Copy link
Contributor Author

GaryQian commented Aug 2, 2022

Might be a good candidate for dumbest bug that I missed this year. shrug

In any case, we now have a test enforcing key spelling and overall success of the queryPurchasesAsync method.

Copy link
Contributor

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

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

LGTM

We should strongly consider consolidating the magic keys that need to match Dart to a single list of constants somewhere, so it's easier to validate manually across languages.

(Longer term of course, we should move to Pigeon and just not have the potential for this problem at all.)

@GaryQian GaryQian added the waiting for tree to go green (Use "autosubmit") This PR is approved and tested, but waiting for the tree to be green to land. label Aug 3, 2022
@GaryQian GaryQian merged commit 43110c2 into flutter:main Aug 3, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 4, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 4, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 4, 2022
yutaaraki-toydium pushed a commit to yutaaraki-toydium/plugins that referenced this pull request Aug 12, 2022
moisefeelin pushed a commit to feelinproject/plugins that referenced this pull request Aug 26, 2022
mauricioluz pushed a commit to mauricioluz/plugins that referenced this pull request Jan 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
p: in_app_purchase platform-android waiting for tree to go green (Use "autosubmit") This PR is approved and tested, but waiting for the tree to be green to land.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Restore purchases does not work in_app_purchase
2 participants