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

Implement canMakePayments for iOS #121

Closed
vshab opened this issue Apr 12, 2018 · 2 comments
Closed

Implement canMakePayments for iOS #121

vshab opened this issue Apr 12, 2018 · 2 comments
Labels
🍗 enhancement New feature or request 📱 iOS Related to iOS

Comments

@vshab
Copy link
Contributor

vshab commented Apr 12, 2018

Hello.

According to Apple guidline https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/ShowUI.html

Display a store only if the user can make payments. To determine whether the user can make payments, call the canMakePayments class method of the SKPaymentQueue class. If the user can’t make payments (for example, because of parental restrictions), either display UI indicating that that the store isn’t available or omit the store portion of your UI entirely.

It would be really nice to have canMakePayments(https://developer.apple.com/documentation/storekit/skpaymentqueue/1506139-canmakepayments?language=objc) exposed to JS.

Thanks.

@JJMoon
Copy link
Contributor

JJMoon commented Apr 12, 2018

OK. We will implement the function soon.

@hyochan hyochan added the 🍗 enhancement New feature or request label Apr 13, 2018
@JJMoon JJMoon added the 📱 iOS Related to iOS label May 18, 2018
@hyochan
Copy link
Owner

hyochan commented Jul 11, 2018

@vshab This is released in [email protected]. Sorry for late update. JJMoon hasn't been working on this one! Please reopen when there is an issue. This will be called in prepare method in our module.

@hyochan hyochan closed this as completed Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍗 enhancement New feature or request 📱 iOS Related to iOS
Projects
None yet
Development

No branches or pull requests

3 participants