You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.
After the In-App Purchase of a non-consumable, I got a nil value for the receipts array in the completionHandler. Although while debugging I saw that NSArray *inAppReceipts contained a valid receipt.
My analysis finds the error in the assignment of NSMutableArray *receipts:
After the In-App Purchase of a non-consumable, I got a nil value for the receipts array in the completionHandler. Although while debugging I saw that NSArray *inAppReceipts contained a valid receipt.
My analysis finds the error in the assignment of NSMutableArray *receipts:
An NSMutableArray should be properly initialised. When I change the line to:
it works as expected and the completionHandler has the receipt.
Please change this in a future version.
The text was updated successfully, but these errors were encountered: