构建具有受限访问权限的 IOS 应用程序的最佳实践
他们要求我为一家服装公司构建一个 iPad 应用程序,客户要求仅向经销商提供该应用程序:
由于我认为不可能在应用程序商店上提交一个仅对少数允许的人使用限制的应用程序,我考虑了不同的选择:
构建一个具有任何人都可以访问的一般信息的应用程序, 并添加仅针对经销商的密码保护部分。
构建受密码保护的 Web 应用程序
您认为最好的解决方案是什么?
我对两者都有一些疑问:
Apple 审核者是否会批准包含某些受密码保护内容的应用程序? 我是否需要向苹果提供密码才能访问价格信息?
如果我构建一个网络应用程序,是否有办法缓存数据以允许离线时访问内容? (我注意到,当 iPad 重新启动时,Web 应用程序数据会丢失)
谢谢
Giuseppe
they asked me to build an iPad app for a clothes company, the client asked to have the application available only to resellers:
Since I think it is not possible to submit on the app store an app with usage restriction only to few allowed people, I thought about different options:
Bulding an app with some general info accessible by anyone,
and adding a password protected section only for resellers.Building a password protected web app
What do you think is the best solution?
I've got some doubts about both:
Are Apple reviewers going to approve an app with some password protected content?
Do I need to provide apple the password to access prices information?If I build a web app, is there a way to cache data to allow the content be accessed when offline? (I noticed that when the iPad is rebooted web app data get lost)
Thanks
Giuseppe
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
此类应用程序很可能会被应用程序商店拒绝,因为它适用于“有限的受众”。
但是,您不必在应用程序商店上发布它,您可以开发一个企业应用程序 然后您只能将其提供给您公司的员工和经销商。您可以自由地限制将此应用程序分发给您想要的任何人,或者根据您的意愿对其进行密码保护 - 在任何情况下,它都无法通过一般应用程序商店途径下载,但您的公司可以在“经销商”上提供该应用程序例如,仅“他们网站的一部分”。
根据您想要应用程序的复杂程度,制作网站是另一种选择。您可以在 sqlite 数据库中使用有限数量的持久本地存储(html5 的新功能之一),如果应用程序足够简单,这应该适合您。
It is likely that such an app will be rejected from the app store because it is for a 'limited audience.'
But, you don't have to release it on the app store, you can instead develop an enterprise app which you can then only make available to your company employees and resellers. You are free to restrict distribution of this app to whomever you want or password protect it as you wish -- in any case it won't be available for download via general app store routes, but your company could make it available on a 'reseller-only' portion of their website for example.
Depending on how complicated you want the app to be, doing a website is another option. You are allowed a limited amount of persistent local storage in a sqlite database (one of the new features of html5), if the app is simple enough, this should work for you.
如果应用程序可以具有足够的通用实用程序(例如,映射到最近的经销商),您可以使用演示帐户(可以具有虚拟数据)将其提交到应用程序商店以获得密码保护功能。
但是,可以将网络应用程序转换为受密码保护的网站的网络剪辑(自定义图标等)是另一个非常好的选择。
If the app can have enough general utility (maps to the nearest resellers, for instance), you can submit it to the App store with a demo account (which can have dummy data) for the password protected features.
But a web app that can be turned into a web clipping (custom icon, etc.) for a password protected site is another very good option.