In App Purchase: dynamically add non consumable items

后端 未结 4 1501
旧时难觅i
旧时难觅i 2021-02-04 06:16

I\'m developing an app where the user can purchase digital maps, charts and so on. I\'d like to wrap these in in-app-purchases. The thing is that I don\'t know beforehand how ma

4条回答
  •  天涯浪人
    2021-02-04 07:08

    I think your limit on items is something massive like 10,000 or so.

    Pre-create a big number of items, add some code to check your website to see what your highest chart number is and make sure the users can only buy charts that you have.

    The app downloads the chart names and corresponding product id from your server and then you're just buying a product.

    Apple doesn't care if the actual product is already in the app and unlocked by the purchase, downloaded from their server or provided from your website.

提交回复
热议问题