saturngod / IAPHelper

No more maintenance for this repo. Please use the https://github.com/bizz84/SwiftyStoreKit
MIT License
1.55k stars 280 forks source link

didReceiveResponse not called after requestProductsWithCompletion with flightmode on #21

Closed Japspre closed 8 years ago

Japspre commented 8 years ago

First of all, thanks for this little gem, its working great

One thing I found is that the delegate method is not called after asking requestProductsWithCompletion with the device flight mode on.

This causes the completion block not to be executed

kevinrodriguez-io commented 8 years ago

Is it even possible to make an IAP with flight mode on in any real application ?

Japspre commented 8 years ago

No, but the point is, when there's no internet connection, the completion block is not called and the app is in an endless state.

saturngod commented 8 years ago

I tested and it was working fine on my code. I tested with flight mode and offline. Hmm .. that so wired .. You can did the break point , check it arrive in - (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions function or not

Japspre commented 8 years ago

@saturngod: I suggest closing this bug report if you cannot reproduce it. I don't have the project anymore where I was using IAPHelper.