react-native-iap icon indicating copy to clipboard operation
react-native-iap copied to clipboard

Android subscription cancel automatically

Open vishalsiddhi opened this issue 2 years ago • 4 comments

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. Screenshot 2023-07-09 at 7 16 20 PM (1)

vishalsiddhi avatar Jul 15 '23 19:07 vishalsiddhi

I have this issue too.. any idea?

RoiDayan1 avatar Jul 16 '23 18:07 RoiDayan1

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 avatar Jul 26 '23 23:07 coofzilla

@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?

rafaelbpa avatar Sep 19 '23 13:09 rafaelbpa

oh nvm, apparently worked here too! thanks!

rafaelbpa avatar Sep 19 '23 13:09 rafaelbpa