Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is Hosted Content Package in the Application Loader?

I want to enable In App Purchase for my an application. The type of purchase is Non-Consumable and I mark Host Content with Apple. When I want to host content with Apple I need to provide Hosted Content Package. I can not find more information what should be inside this content package. Except that it should be not bigger than 2GB and extension should be .pkg.

How I could create Content Package for it? What should be inside it?

How I can create an In-App purchase content package in Xcode (with a .pkg file extension)?

like image 525
Ramis Avatar asked Sep 26 '12 09:09

Ramis


People also ask

What happens when a hosted app is launched?

When a hosted app is launched, the result is that the host is then running under the identity of the hosted app package, so it can load visual assets, content from the Hosted App package location, and when it calls APIs it does so with the identity declared in the Hosted App.

What is a hosted app model?

By itself, it is just a file and does not have any way to appear as an app to Windows. With the Hosted App Model, an app can declare itself as a host, and then packages can declare a dependency upon that host and are known as hosted apps.

What are the package requirements for a hosted app?

A hosted app must declare a package dependency upon the host, and specify the HostId to use. If the package is unsigned, it must include the Unsigned Publisher OID to ensure the package identity does not conflict with a signed package.

What is a host app and how to host an extension?

App extensions enable your app to host content provided by other apps. Discover, enumerate, and access read-only content from those apps. If an app supports extensions, any developer can submit an extension for the app. Thus, the host app needs to be robust when it loads an extension that it hasn't been pre-tested with.


1 Answers

To create In-App Purchase content package: File -> New -> Project... -> Other (iOS) -> In-App Purchase Content. New project will be created.

Put data to this project and choose: Product -> Archive. When archive is done choose Distribute....

And you are done.

Very detailed explanation is written here: In-App Purchase example

like image 70
Ramis Avatar answered Sep 29 '22 18:09

Ramis