我们可以在 iOS 企业应用程序中使用应用内购买吗?
我们可以在作为企业应用程序分发的 iOS 应用程序中使用应用程序内购买吗?如果不可能,我们可以使用 paypal 或任何其他购买机制吗?Apple 是否会像使用其他付款方式对 Kindle 应用程序所做的那样在这里造成任何问题?
Can we use in- App purchase in an iOS App distributed as a enterprise app? If not possible can we use paypal or any other purchasing mechanism for that?Does Apple create any problem here as they did for Kindle App using payment other than their one?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
由于企业许可证不涵盖 App Store 集成,因此您的捆绑包 ID 未向 Apple 注册和批准,仅此一点就意味着
StoreKit
无法批准任何交易,因为它不知道您的应用程序。即使事实并非如此,
StoreKit
背后的基础设施也不适用于企业应用。无论如何,您可能会认为企业应用程序中的应用内购买实际上没有意义,因为您将向员工而不是客户提供此应用程序。
Since the Enterprise license doesn't cover App Store integration, your bundle ID isn't registered and approved with Apple, this alone means the
StoreKit
can't approve any transactions because it's not aware of your application.Even if this wasn't true, the infrastructure behind
StoreKit
isn't in place for Enterprise apps.In any case you could argue that in-app purchase in an Enterprise application doesn't really make sense since you would be providing this application to employees, not customers.
如果您不打算在 AppStore 中发布应用程序,则可以使用您想要的任何购买机制。
If you're not going to publish the application in the AppStore, you can use any purchasing mechanism that you want.
此链接显示了所有类型的帐户以及每种帐户允许的功能: https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/SupportedCapabilties/SupportedCapability.html#//apple_ref/doc/uid/TP40012582-CH38-SW1
Apple Enterprise 应用程序不支持应用程序内购买,但它们支持很多其他内容
This link shows all the types of accounts and what capabilities each of them allows: https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/SupportedCapabilities/SupportedCapabilities.html#//apple_ref/doc/uid/TP40012582-CH38-SW1
Apple Enterprise apps do not support In App Purchase, but they support a lot of other stuff