-
Notifications
You must be signed in to change notification settings - Fork 184
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
Any plan on supporting in-app purchase initiated from the App Store #102
Comments
+1 |
happy to accept a PR that has an event based api for this. |
I dropped the method in to handle it. It does kick off the purchase process but obviously there is no callback to tell the RN app that the purchase was a success. I'm willing to work on it but I've never done anything with events and was looking into Bubble and Direct events but they need to be attached to an element.
|
@chirag04 can you give an example of how you want the API to look like? |
@chirag04 @jeremyhicks @rohitgoyal please see PR #128. Added
I also added promise support and an index.js so that we can import
instead of:
You can then also easily add the listener like this:
These should be all non-breaking changes. It would be great if someone else could also test in-app purchases initiated from the App Store and subscription renewals. To trigger an in-app purchase initiated from the App Store, open this on your device:
Replace |
@superandrew213 awesome, I will test this out tonight and report back |
Any update on this? |
can they be retrieved using |
This is very critical to get organic traffic. Any updates on it? |
As Apple released the new beta SDK with support of IAP from the App Store page itself. It would be really helpful to have that functionality with this library.
https://developer.apple.com/documentation/storekit/skpaymenttransactionobserver/2877502-paymentqueue
The text was updated successfully, but these errors were encountered: