TPInAppReceipt icon indicating copy to clipboard operation
TPInAppReceipt copied to clipboard

DEBUG testing of 3.4.1 and IARError.validationFailed(reason: .signatureValidation)

Open metadynesoftware opened this issue 4 months ago • 0 comments

Hello,

I’ve been using TPInAppReceipt prior to the 3.4.1. update. With the 3.4.1 update I notice the Validation: verifySignature() function has changed.

Previously while in DEBUG mode, the checkChainOfTrust() function was not called. The 3.4.1 version does not bypass the checkChainOfTrust() for debugging which results in the receipt.validate() to throw a IARError.validationFailed(reason: .signatureValidation) error.

My question is should the IARError.validationFailed(reason: .signatureValidation) error be ignored during debugging? Or has something else changed that needs to be addressed for debugging?

Thank you for creating and maintaining the TPInAppReceipt code base. Your time and effort is appreciated.

Regards,

metadynesoftware avatar Oct 09 '24 16:10 metadynesoftware