There seems to be a race condition when verifying the receipt with fovea/own validator. It looks like the product state bounces back from owned to approved state. In the log i can see that scheduleValidation gets called twice. One seems to successfully put the product in owned state but the other call gets delayed by 1500ms still holding a reference to the product in approved state which leads to an infinite loop that repeats every 1500ms.
It has to do with these lines:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
There seems to be a race condition when verifying the receipt with fovea/own validator. It looks like the product state bounces back from owned to approved state. In the log i can see that
scheduleValidation
gets called twice. One seems to successfully put the product in owned state but the other call gets delayed by 1500ms still holding a reference to the product in approved state which leads to an infinite loop that repeats every 1500ms. It has to do with these lines:https://github.com/j3k0/cordova-plugin-purchase/blob/master/www/store-android.js#L739
https://github.com/j3k0/cordova-plugin-purchase/blob/master/www/store-android.js#L1785
It seems to be reproduceable when calling "store.refresh" with an already active auto renewing android subscriptions.