The block of this method is not called on request error.
[[IAPShare sharedHelper].iap requestProductsWithCompletion:^(SKProductsRequest* request,SKProductsResponse* response)
{
// never called
}];
Looks like this happens in simulator only. May be we should add the SKRequest delegate method to print a log message that this won't work on simulator instead of going silent.
- (void)request:(SKRequest *)request didFailWithError:(NSError *)error {
NSLog(@"Warning: the completion block of -requestProductsWithCompletion method won't be called in iOS simulator. Please test on device.");
}
The block of this method is not called on request error.
Looks like this happens in simulator only. May be we should add the SKRequest delegate method to print a log message that this won't work on simulator instead of going silent.