应用内订阅内容
我正在尝试为 Iphone 实现应用内订阅。这个概念是这样的:
- 在我的应用程序中,我有一个包含一些分层数据的 sqlite。
- 这些分层数据需要每 2-3 个月更新一次,因此我通过 IAP 提供年度订阅。
- 一旦启用新的更新,应用内就会收到推送通知吗?以便用户知道他们需要下载它。
到目前为止我从文档中了解到这一点。因此,我访问了 itunesconnect 网站并设置了一个虚拟应用程序来测试我的代码。
- 我应该将更新的数字内容放在哪里? (带有条目的 PLIST 或 XML 数据文件)。除了更新的屏幕截图之一之外,我找不到任何“上传内容”按钮。
- 用户如何知道他的订阅已经结束?我必须实施这个还是 Itunes 平台通知的?
- 下载文件后,我可以更新 mainBundle 上的数据库吗?
感谢您的任何回复, 我在这里大惊小怪,因为订阅对我来说是一个灰色地带,我找不到任何例子。
I am trying to implement an In-App Subscription for Iphone. The concept is this:
- In my app, I have an sqlite with some hierarchical data.
- These hierarchical data need to be updated every 2-3 months, so I am offering a yearly subscription via IAP.
- Once a new update is enabled, the in-app will be PUSH Notified? so that users know they need to download it.
So far I understand this from the documents. So I went to the itunesconnect site and setup a dummy app to test my code.
- Where do I put the digital content for the updates? (a PLIST or XML datafile with the entries). I can't find any "upload content" button, except for the screenshot one of the update.
- How will the user know that his subscription is over? I have to implement this or is it something that Itunes Platform notifies?
- Can I update the database located on mainBundle once the files are downloaded?
Thanks for any reply,
I am in a fuss here because subscription is a grey area for me, and I can't find any examples.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须将内容放在您自己的服务器上,或者您可以使用 http://urbanairship.com/。他们提供订阅服务,每位用户每月 0.15 美元。
mainBundle 不可写。您必须将文件保存到另一个位置。就像图书馆或文档目录一样。
关于问题2,你必须自己实现整个应用内购买管理,所以我认为你也必须照顾订阅周期。但我对此不确定。
You have to put the content on your own server, or you could use a service provider like http://urbanairship.com/. They offer a subscription service for $0.15 per user and month.
the mainBundle is not writeable. you have to save the file to another location. Like the library or documents directory.
Regarding question 2, you have to implement the whole in-app-purchase management on your own, so I think you have to take care of subscription periods too. But I'm not sure about this.