iOS in-app subscription tutorial with StoreKit 2 and Swift

iOS in-app subscription tutorial with StoreKit 2 and Swift:

https://www.revenuecat.com/blog/engineering/ios-in-app-subscription-tutorial-with-storekit-2-and-swift/

Apple有下面四種In-app purchases (IAPs) :

  1. Consumables
  2. Non-Consumables
  3. Auto-renewable subscriptions
  4. Non-renewing subscriptions

四種IAP說明:

1.Consumables are products that can be purchased once, more than once, and in quantity. Examples of consumables could be “lives” or gems in games, boosts in a dating app to increase visibility, or tips for developers or creators.

2.Non-consumables are products that can only be purchased once and don’t expire. Examples of non-consumables could be unlocking premium features in an app, getting extra brushes in a painting app, or obtaining cosmetic items in a game.

3.Auto-renewable subscriptions are products that can provide ongoing access to content, services, or premium features in an app. Customers are charged on a recurring basis until they cancel or billing issues occur. Examples of auto-renewable subscriptions could include access to a software service or content (like lessons in an education app).

4.Non-renewing subscriptions are products that provide access to content, services, and premium features in an app for a limited time without automatic renewal. This type of subscription requires the user to manually resubscribe to regain access to the service or content. An example of a non-renewing subscription could be a season pass to in-game content.

例子:

  1. Consumables: 單次消耗性道具(ex: 生命水、補魔法藥水)
  2. Non-Consumables: 永久消費型裝備(ex: 盔甲、褲子)
  3. Auto-renewable subscriptions: 月訂閱(ex: 在訂閱期間,打怪經驗+30%)
  4. Non-renewing subscriptions: 非自動續訂的訂閱(ex: 每一季的特殊關卡進入權限)

探索更多來自 LifeJourney 的內容

立即訂閱即可持續閱讀,還能取得所有封存文章。

繼續閱讀