With In-App-Purchase on iOS, Apple provide a service for hosting content to show when a user has bought an In-App-Purchase
Questions tagged [iap-hosted-content]
28 questions
6
votes
0 answers
`startDownloads` not working on restored transaction. `updatedDownloads` not called
I have an issue with the restoration of hosted in-app purchase content. Sometimes it works, and sometimes it doesn't work at all. My users are also reporting this issue.
I had a hard time trying to replicate it, but I managed to run into a situation…

Andriy Gordiychuk
- 6,163
- 1
- 24
- 59
6
votes
2 answers
When using Apple Hosted Content with In app purchase on iOS, is it possible to download the content before buying?
I am working on an app that is going to use IAP with Apple hosted content. I want to show images of the content to the people that are downloading it before they buy. Is it possible for the app to download the content from Apples server before user…

bogen
- 9,954
- 9
- 50
- 89
5
votes
3 answers
IAP creation - No "Hosted Content"
I'm looking to update one of my older apps in the next week or so and want to implement hosted in app purchases rather than my old server strategy.
According to the docs I'm reading it says this "In the Hosting Content with Apple section of the…

Msencenb
- 5,675
- 11
- 52
- 84
4
votes
0 answers
SKDownload problem after app goes to background
In my app, the download of content hosted with Apple goes well if the app is active. However, if it goes to background and sufficient time passes, when it becomes active again, SKDownload still has an active state, but no progress is being reported.…

Andriy Gordiychuk
- 6,163
- 1
- 24
- 59
4
votes
1 answer
Cannot upload hosted content for In-App purchases to iTunesConnect
I am trying to upload hosted content for in-app purchases, however I have been unable to succeed so far.
I have previously uploaded around 100 in-app purchases packages for my app using Application Loader. I used to be able to upload these packages…

Danny Bravo
- 4,534
- 1
- 25
- 43
4
votes
1 answer
Upload Hosted in-app Purchase Content Xcode 7
My understanding is that with Xcode 6 you could not upload a package of hosted content from within Xcode. So, you had to use this application loader program, which I have downloaded.
But I now have upgraded to Xcode 7 and was expecting the bug to…

RegularExpression
- 3,531
- 2
- 25
- 36
3
votes
2 answers
Downloading iAP Hosted Content gets stucks on SKDownloadStateWaiting for some users
Pretty much what the title says. The code works fine for all my development devices in the sandbox environment and for a majority of my users. However, there are some users reporting that the download process doesn't move beyond the waiting state…

Gasper
- 5,679
- 1
- 18
- 21
3
votes
1 answer
How to retrieve an SKDownload of an already purchased content
The standard in app purchase flow when there is hosted content is:
do the transaction
when the transaction enters in "purchased" state, retrieve the SKDownload and start downloading
when downloading is done, then we can declare the transaction as…

viggio24
- 12,316
- 5
- 41
- 34
2
votes
1 answer
Issue with accessing hosted content via apple app store in-app purchases: 'The folder “Contents” doesn’t exist.'
I have been working with hosted in-app purchasable content and am running into an issue. I've been able to get the content to download and such but sometimes run into an error.
Here is the code I use to access the download:
if let hostedContentPath…

Brendin G
- 33
- 6
2
votes
1 answer
iOS iAP Hosted content download not working
I have several non-consumable iAPs for my app. The first version of the app included the appropriate content inside the app bundle, so the iAPs were just to unlock the areas that can access the content.
I'm working on a second version of the app and…

camilomq
- 3,021
- 1
- 17
- 10
2
votes
1 answer
Download Apple-hosted content for free product (in-app purchase) on first run without sign in
Is it possible to download Apple-hosted content for free product (in-app purchase) on first run without sign in to iTunes.
Your help will be appreciated.

Shoaib
- 1,295
- 15
- 22
2
votes
1 answer
unzip contents in-app purchase ios
apple hosted contents are downloading as .zip in case of in-app purchase.
m trying to unzip these contents but filed to open .zip file with zipArchive.
ZipArchive* za = [[ZipArchive alloc] init];
za.delegate = self;
NSString *path =…

Shoaib
- 1,295
- 15
- 22
2
votes
1 answer
can't get In-App-Purchase hosted content to be actually hosted
I have an iPad app with In-App Purchase that used to host its content with Urban Airship (a pox upon their house). Now I'm trying to convert this to use Apple's hosted content.
I've created a .pkg file for one of my content items, and used…

Joe Strout
- 2,634
- 2
- 28
- 39
2
votes
1 answer
Testing in-app purchase with hosted content
We are adding in-app purchases to our app. I have created several products in iTunes Connect and most of these get listed in the app, except for the one that is using hosted content.
My problem is the following:
When I upload a hosted content…

pajevic
- 4,607
- 4
- 39
- 73
1
vote
1 answer
InAppPurchase: Download hosted content from AppDelegate
I m trying to implement In App Purchase with hosted content in Apple's servers.
I'm using the SwiftyStoreKit framework.
Usually, according to the others tutorials, we need to implement the downloading call in :
func paymentQueue(_ queue:…

Hugo75
- 249
- 3
- 15