IAPHelper icon indicating copy to clipboard operation
IAPHelper copied to clipboard

When restoreProductsWithCompletion fail to retrieve defaultQueue, callback won't be triggered

Open EvenCheng opened this issue 8 years ago • 1 comments

in IAPHelper.maround line 237

`

-(void)restoreProductsWithCompletion:(resoreProductsCompleteResponseBlock)completion {

//clear it
self.buyProductCompleteBlock = nil;

self.restoreCompletedBlock = completion;
if ([SKPaymentQueue defaultQueue]) {
    [[SKPaymentQueue defaultQueue] restoreCompletedTransactions];
}
else {
    NSLog(@"Cannot get the default Queue");
}

}

`

In the else clause should trigger callback

EvenCheng avatar Jan 20 '17 08:01 EvenCheng

have solve this problem ?

chirag225 avatar Nov 21 '17 12:11 chirag225