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

Start using Grand Unified Receipt format and remove usage of deprecat… #210

Merged
merged 1 commit into from
Aug 26, 2019

Conversation

DulMephistos
Copy link
Contributor

Use Grand Unified Receipt format

Change the way it fetches the transaction receipt so it'll use the Grand Unified Receipt format.

@@ -220,7 +231,7 @@ - (void)productsRequest:(SKProductsRequest *)request
@"currencyCode": [item.priceLocale objectForKey:NSLocaleCurrencyCode],
@"priceString": item.priceString,
@"countryCode": [item.priceLocale objectForKey: NSLocaleCountryCode],
@"downloadable": item.downloadable ? @"true" : @"false" ,
Copy link
Owner

Choose a reason for hiding this comment

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

is this a breaking change or this was a bug?

Copy link
Contributor Author

@DulMephistos DulMephistos Jul 2, 2019

Choose a reason for hiding this comment

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

A bug that was probably just generating a warning. But unless you're on the mac, the getter has been isDownloadable since iOS 6.0

@property(nonatomic, readonly, getter=isDownloadable) BOOL downloadable NS_AVAILABLE_IOS(6_0);

@chirag04 chirag04 merged commit 3573999 into chirag04:master Aug 26, 2019
xchesh pushed a commit to wowmaking/react-native-in-app-utils that referenced this pull request Sep 24, 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.

None yet

2 participants