How to get a list of in-app purchases from the Apple server

5.5k views Asked by At

I am developing an iPhone app which provides in-app purchases. However, after creating a product ID for an in-app purchase, I must manually update the list in either the client, or on a custom server. This seems a little odd.

Is their any web service that I can use to directly communicate with Apple's server in order to get a list of registered product IDs dynamically?

Or is there an API that my iPhone client can use to communicate with StoreKit to get the list of registered product IDs from Apple's server?

1

There are 1 answers

1
vdaubry On

No there isn't :

From the In App purchase Programming Guide

Apple recommends you retrieve product identifiers from your server, rather than including them in a property list. This gives you the flexibility to add new products without updating your application.

You can find a similar answer here :

StoreKit to return all product IDs

Hope this helps, Vincent