react-native-iap
react-native-iap copied to clipboard
Android subscription cancel automatically
Discussed in https://github.com/dooboolab-community/react-native-iap/discussions/2490
Originally posted by vishalsiddhi July 16, 2023 Hello Everyone,
I am working on app and some user reported that subscription automatically cancel by google play store. Is there any specific thing I need to do for android subscription with this library?
It's really frustrating things for user so please help me on this.
See below file for this.
I have this issue too.. any idea?
I"m dealing with this issue as well, I think on android you have to do something like
await finishTransaction({ purchase, isConsumable: false })
https://react-native-iap.dooboolab.com/docs/guides/purchases/#finishing-a-purchase
@coofzilla did this work for you? I'm calling the finishTransaction at the end of the purchaseUpdatedListener and still having the same issue. By the way, my finishTransaction returns this object:
{"code": "OK", "debugMessage": "", "message": "", "responseCode": 0}
Is this okay? Am I missing something here?
oh nvm, apparently worked here too! thanks!