Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Fix getting products on iOS 4.2.1 #69

Merged

Conversation

pluton8
Copy link
Contributor

@pluton8 pluton8 commented May 11, 2012

I've come across a situation when product data isn't retrieved from the server. Neither productsRequest:didReceiveResponse: nor request:didFailWithError: was called. Apparently, the products request was deleted before calling a delegate's method. This happened very frequently on iPod 4.2.1, and sometimes on iPad 4.3.3. It seems a part of the issue may be slow internet access.

I keep the request in a property, and the thing works great now.

The initial products request is saved in a property, so that it isn't
deleted right after leaving the requestProductData method.
MugunthKumar added a commit that referenced this pull request May 13, 2012
@MugunthKumar MugunthKumar merged commit 1cc4143 into MugunthKumar:master May 13, 2012
@MugunthKumar
Copy link
Owner

Thanks for this.

acrist pushed a commit to Coppertino/MKStoreKit that referenced this pull request Jul 10, 2013
…roducts

Fix getting products on iOS 4.2.1
acrist pushed a commit to Coppertino/MKStoreKit that referenced this pull request Jul 10, 2013
…roducts

Fix getting products on iOS 4.2.1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants