Replies: 1 comment
-
Not sure if it is the best/correct way, I didn't found any other workaround -> if you are using StoreKit 2 only, then you can patch-package this library like this.
in
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone.
I'm using react-native-iap v10.1.0 and react-native v0.66.3.
On iOS env, I want to get the event type in the
purchaseUpdatedListener
.Because the different logic should be executed when the
RENEW
event is received and when theINITIAL_BUY
event is received in thepurchaseUpdatedListener
.But the parameter of the callback function in the
purchaseUpdatedListener
isPurchase
type, andPurchase
type has no property such as event type.Is there a way to get the event type in the purchaseUpdatedListener?
Beta Was this translation helpful? Give feedback.
All reactions