Using on-demand resources in conjuction with in-app purchases is understandable when resources are included with the application. But how do I add additional in-app purchases after the application is on the store? I'm not referring to the process of creating a new in-app purchase in iTunesConnect.
I'm trying to understand if i create a target for a new in-app purchase on the original app and upload the target to the app store if that data will be available for use as an in-app purchase. The WWDC videos indicate there two ways to host in-app purchases: on-demand resources and hosted content. I can't find any explanation
Apple describes on demand resources here:
These 'on demand resources' are, for all intents and purposes, "included" in the original app itself. I believe they must all be submitted with the app binary and approved at that time. They cannot be changed after submission. (The same is not true of hosted content.) While they are not downloaded with the app itself, the code that downlaods the on demand resources are included in the app and the.
Yes, you can have IAPs unlock the code that downloads on demand resources. The following is from the link above:
"The app offers in-app purchases that includes additional resources. The resources for purchased modules are requested by the app after it is launched. For example, a user purchases the SuperGeeky emoticon pack in a keyboard app. The app requests the pack after it finishes launching."