阅读背景:

如果我将cloudkit用作应用内购买的远程服务器怎么办? Apple Inc.施加的任何限制?

来源:互联网 

What if I use CloudKit as a remote server in lieu of my own server for In-app Purchase? Any limitations imposed by Apple Inc.? In order to improve the security I would like to use my own server for In-app purchase development but I found Cloudkit would be one of good candidates doing this.

如果我使用CloudKit作为远程服务器代替我自己的服务器进行应用内购买,该怎么办? Apple Inc.施加的任何限制?为了提高安全性,我想使用自己的服务器进行应用内购买开发,但我发现Cloudkit可能是这样做的好选择之一。

For CloudKit itself has been designed to ease developer's effort in a specific way, I think that it might have some hurdles in using CloudKit as a remote server for In-App Purchase server.

对于CloudKit本身旨在以特定方式减轻开发人员的工作量,我认为将CloudKit用作应用程序内购买服务器的远程服务器可能会遇到一些障碍。

I can not see any information regarding this from any documents contained in developer.apple.com.

我无法从developer.apple.com中包含的任何文档中看到有关此内容的任何信息。

1 个解决方案

#1


CloudKit is a data storage and notification service. What functionality did your own server do exactly? If your own server was just used for data storage, then you could do the same using CloudKit. With CloudKit you could use the iCloud account for filtering out data.

CloudKit是一种数据存储和通知服务。您自己的服务器做了什么功能?如果您自己的服务器仅用于数据存储,那么您可以使用CloudKit执行相同的操作。使用CloudKit,您可以使用iCloud帐户过滤数据。

But then why do you want to save it on a server? You can use Storekit to put back/validate purchases. You should save the status of a purchase in the keychain. And if a user want your app to check his purchase status, then you should call Storekit.

但那你为什么要把它保存在服务器上呢?您可以使用Storekit放回/验证购买。您应该将购买的状态保存在钥匙串中。如果用户希望您的应用程序检查他的购买状态,那么您应该调用Storekit。


分享到: