开发者

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

开发者 https://www.devze.com 2023-02-08 20:24 出处:网络
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.

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 fro开发者_如何学Cm Apple's server?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消