If a transaction is not finished (due to any reason), it is added to the set of "self.unfinishedTransactions". However, this set is never cleaned up.
There is only one section where this set is processed, it is within "- (void) finishTransaction: (CDVInvokedUrlCommand*)command".
However, to call this successfully, you need the transactionID.
You cannot provide the transactionID of those unfinishedTransactions because simply there is no get for that to process them.
It seems to be processed only if the flag "g_autoFinishEnabled" is activated.
There should be a way of processing those unfinishedTransactions too.
I was reading the source code for iOS and came across a situation in the code of "InAppPurchase". This function is called in the app startup:
If a transaction is not finished (due to any reason), it is added to the set of "self.unfinishedTransactions". However, this set is never cleaned up.
There is only one section where this set is processed, it is within "- (void) finishTransaction: (CDVInvokedUrlCommand*)command". However, to call this successfully, you need the transactionID. You cannot provide the transactionID of those unfinishedTransactions because simply there is no get for that to process them.
It seems to be processed only if the flag "g_autoFinishEnabled" is activated.
There should be a way of processing those unfinishedTransactions too.
Thanks