purchaseUpdatedListener is not firing up
Please use Discussion board if you want get some help out of it. Please report issue if there is a bug.
Version of react-native-iap
"react-native-iap": "^6.0.0"
Version of react-native
"react-native": "0.62.2"
Platforms you faced the error (IOS or Android or both?)
IOS
Expected behavior
purchaseUpdatedListener needs to trigger immediately when subscription purchase or upgrade/downgrade
Actual behavior
- purchaseUpdatedListener not returning receipt when triggering the upgrade/downgrade action(waited for long).
Tested environment (Emulator? Real Device?)
Real Device - sandbox
Steps to reproduce the behavior
- Initiate one subscription.
- Upgrade/Downgrade the subscription with the function call requestSubscription(newSku).
- purchaseUpdatedListener not firing up for further actions (waited above 10 min).
Same here with 7.5.0 version and using RNIap.requestSubscription(sku), when upgrade subscription... =( Any workaround?
Ok, in case it happens to someone, solved by executing this instruction:
await RNIap.clearTransactionIOS ();
before this:
await RNIap.requestSubscription (sku);
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions.
Thank you for the info @JorgeMoV