dooboolab-community / react-native-iap

In App Purchase module for React Native!
https://react-native-iap.dooboolab.com
MIT License
2.74k stars 630 forks source link

Android purchaseUpdateListener not emit unfinished transactions #2571

Open mronline opened 9 months ago

mronline commented 9 months ago

Expected Behavior

When iOS purchaseUpdateListener is created, receipts that have not been finishTransaction() are received, but Android ones are not.

https://react-native-iap.dooboolab.com/docs/guides/purchases#finishing-a-purchase: "Purchases will keep being emitted to your purchaseUpdatedListener on every app relaunch until you finish the purchase."

Environment:

To Reproduce Steps to reproduce the behavior:

After recreate purchaseUpdatedListener does not emit incomplete transaction. There is no such problem in iOS.

ZhenhuiDev commented 1 week ago

I faced the same issue on the android platform, IOS works fine.

Environment: