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

IAPItem deserialization fix #212

Merged
merged 1 commit into from
Oct 11, 2020
Merged

Conversation

suquant
Copy link
Contributor

@suquant suquant commented Aug 25, 2020

No description provided.

@Cge001
Copy link
Contributor

Cge001 commented Sep 15, 2020

originalPrice = json['originalPrice'].toString();

@Cge001
Copy link
Contributor

Cge001 commented Sep 15, 2020

if you change the code like this : originalPrice = json['originalPrice'] as String;
you'll get an exception : type 'int' is not a subtype of 'String'....
so, you ought to change the code like this : originalPrice = json['originalPrice'].toString();

@hyochan hyochan added the typo label Oct 11, 2020
@hyochan hyochan merged commit cce84bf into hyochan:master Oct 11, 2020
mgonzalezc pushed a commit to mgonzalezc/flutter_inapp_purchase that referenced this pull request Oct 14, 2020
* master:
  Remove meta in dep
  fix for hyochan#230 (hyochan#231)
  Release 2.3.1
  Release 2.3.0
  iOS Promotional Offers Fix (hyochan#220)
  Adding introductoryPriceNumberIOS (hyochan#214)
  IAPItem deserialization fix (hyochan#212)
  Fix a typo (eneabled -> enabled) (hyochan#216)
  Fix typo (hyochan#210)

# Conflicts:
#	lib/modules.dart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants