IAP每月订阅 [英] Monthly Subscription with IAP

查看:134
本文介绍了IAP每月订阅的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个新闻阅读器应用程序。我想将IAP添加到我的应用程序。
我添加了耗材购买。当用户购买时,我将过期日期写入nsuserdefaults。
到期时我再次显示购买屏幕。

i have a news reader app. i want to add IAP to my app. i added Consumable Purchase. when the user purchases i write expire date to nsuserdefaults. when it expires i show purchase screen again.

但苹果拒绝它,
它说:
但是,基于产品功能,使用Subscription In App Purchase类型更合适,因为您的应用程序提供的服务要求用户进行预付款以访问内容或接收服务。
...
订阅内容必须提供给单个用户拥有的所有iOS设备,如App Store评论指南的准则11.6所示:
....

but apple rejected it, it says: However, based on product functionality, it would be more appropriate to use the Subscription In App Purchase type because the service offered by your application requires the user to make an advance payment to access the content or receive the service. ... Subscription content must be made available to all iOS devices owned by a single user, as indicated in Guideline 11.6 of the App Store Review Guidelines: ....

首先我尝试使用Auto-Renewable Subscription,但我的应用程序没有任何要下载的内容。
然后我试图实施非续订订阅。但人们说它已被弃用。
我想允许购买应用的用户也在其他设备上使用它。
但我无法获得AppleId(Apple也不允许)。
我真的被困了。

first i tried to use Auto-Renewable Subscription, but my app doesn't have any content to be downloaded. then i tried to implement Non-Renewing subscription. but people say that it is deprecated. i want to allow users who buyed app to use it on other devices too. but i can't get AppleId (Apple doesn't allow it either). I'm really stucked.

如何为我的应用添加每月订阅?

how can i add monthly subscription to my app?

任何人都可以给我一些建议......

can anyone give me some advice...

推荐答案

我几乎完全一样。以下是您的操作:

首先,虽然Apple的文档似乎暗示非续订订阅已弃用,它们。事实上,当他们拒绝我的应用程序使用自动续订订阅时,这就是Apple引导我的目标。

First off, although Apple's documentation seems to suggest that Non-Renewing Subscriptions are deprecated, they are not. In fact, that's what Apple steered me towards when they rejected my app for using Auto-Renewing subscriptions.

在多台设备之间进行同步:我尝试使用我存储在用户的iCloud帐户上的唯一标识符来识别用户(就像@Yorxxx建议的那样),但Apple再次拒绝了该应用程序,并说该指南声明我需要提供可选用户名/密码系统,允许用户将订阅恢复到所有设备上。

In terms of syncing across multiple devices: I tried using a unique identifier that I stored on the user's iCloud account to identify a user (like what @Yorxxx suggested), but Apple rejected the app again, saying that the guidelines state that I need to provide an optional username/password system to allow a user to restore their subscription onto all their devices.

关于非续订订阅的一些注意事项


  • 您可以设置和跟踪自己的持续时间和到期日期。

  • 您基本上拥有来管理您自己服务器上的服务,因为您需要在所有设备上同步用户的订阅。

  • 没有提示询问用户是否要向开发者发送他们的联系信息。

  • restoreCompletedTransactions 对非续订订阅没用。

  • 如果我是你,我会在iCloud上存储用户名,如果他们给你一个。这样,当他们在新设备上安装您的应用时,您可以提示他们已经拥有一个帐户,如果他们登录,他们现有的订阅将同步到该设备。

  • You set and track your own durations and expiration dates.
  • You essentially have to administer the service from your own server, since you'll need to sync a user's subscription across all their devices.
  • There is no prompt asking the user if they want to send the developer their contact information.
  • restoreCompletedTransactions is useless with Non-Renewing Subscriptions.
  • If I were you I would store the persons username on iCloud if they give you one. That way, when they install your app on a new device, you can prompt them that they already have an account and if they log in, their existing subscription will by synced to that device.

这篇关于IAP每月订阅的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆