我打算将应用内购买添加到我的生产力应用中。增强功能是购买产品(例如,免费增值)。 如果他在任何一个平台上购买过,我想让用户访问 Android 和 iOS 上购买的功能。从技术上讲,我计划将购买信息存储在服务器上,并在用户登录任一设备时检索它,如果已经购买则解锁该功能。
iOS 和 Android 都允许这样做吗?
苹果 App Store Review Guidelines第 11 节对此进行了解释。
点“11.1/11.2”和“11.14”听起来冲突(或者我遗漏了什么。)。
在 Android 上,我没有在 Policies 中看到这一点.
如果您有任何我应该额外注意的经历(w.r.t 在设备之间共享购买信息),欢迎提出任何建议。
最佳答案
我想添加一条关于订阅的说明。这是 Apple 指南中的引述:
Cross-Platform Considerations
Product identifiers are associated with a single app. Apps that have both an iOS and macOS version have separate products with separate product identifiers on each platform. You could let users who have a subscription in an iOS app access the content from an macOS app (or vice versa), but implementing that functionality is your responsibility. You would need some system for identifying users and keeping track of what content they’ve subscribed to, similar to what you would implement for an app that uses non-renewable subscriptions
引自 Android 文档:
You can also build on your existing external subscriber base from inside your Android apps
- If you sell subscriptions on a web site, for example, you can add your own business logic to your Android app to determine whether the user has already purchased a subscription elsewhere, then allow access to your content if so or offer a subscription purchase from Google Play if not.
- You can implement your own solution for sharing subscriptions across as many different apps or products as you want ...
Android 文档链接: https://developer.android.com/google/play/billing/billing_subscriptions.html
在撰写此答案时(2017 年 5 月 23 日)Windows 应用商店没有订阅,但它们是在最新的 BUILD session 期间宣布的。一些细节here和 here 订阅应该会在今年夏天晚些时候推出。
关于android - 应用内购买 : Share user In-App purchases between Android and iOS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36200085/