更新内部应用程序 - iOS企业开发人员计划 [英] Update In-House Apps -- iOS Enterprise Developer Program

查看:233
本文介绍了更新内部应用程序 - iOS企业开发人员计划的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找有关 iOS企业开发人员计划的信息。根据我的阅读,内部发布允许公司在不知道设备UDID的情况下在内部分发iOS应用程序(与广告不同) -hoc发行)。使用这些配置文件构建的应用程序可以在任何iOS设备上技术安装(不限制设备数量),但许可协议规定我们不能将企业应用程序分发给公司外的任何人。

I am looking for information on the iOS Enterprise Developer Program. From what I read, in-house distribution allows companies to distribute iOS apps internally without knowing the devices UDIDs (unlike what happens with the ad-hoc distribution). Apps built with these profiles can be technically installed on any iOS device (without limits on the number of devices), but the license agreement says we can't distribute enterprise apps to anyone outside the company.

根据我的阅读,我们可以通过企业内部的任何媒介分发应用程序。在我们的例子中,我们想在我们的Intranet上放置 .ipa 及其 .plist (通过身份验证保护)。我们的用户可以使用任何iOS设备浏览该网站,输入凭据,单击链接并安装应用程序。那很好。

From what I read, we can distribute apps through any medium we want within the enterprise. In our case, we want to put the .ipa and its .pliston our intranet (protected via authentication). Our users can just browse to that site with any iOS device, type in their credentials, click on the link and install the app. That's great.

但更新如何运作?我找不到有关此主题的信息。如果我创建了一个新版本的应用程序,所有设备都会在没有我干预的情况下自动更新?

But how updates work? I can't find information on this topic. If I create a new version of the app, all devices are updated automatically without my intervention?

推荐答案

更新有两种不同的情况 - 1)服务器驱动的更新,您无需修改​​代码。在这种情况下,您的应用程序应该足够智能,可以轮询服务器以获取任何更新,下载它们并重新配置自身。我正在为我们的原生应用做这件事。 2)您已更新代码。在这种情况下,您需要在每台设备上重新安装App以进行更新。

Updates have two different scenarios - 1) Server driven updates where you don't need to modify your code. In this case your App should be intelligent enough to poll server for any updates, download them, and reconfigured itself. I am doing this for our native Apps. And 2) You have updated the code. In this case you will need to re-install the App on each device to update it.

在您的情况下,我认为您正在寻找方案2的解决方案。您可以实现类似于Apple向Appstore提交更新版本时所执行的操作。他们在更新部分显示更新的应用程序,然后重新安装应用程序。你可以在你的应用程序中有一些部分检查是否有更新,并使用HTML链接调用itunes服务,这将直接向用户提供弹出窗口,要求安装更新的应用程序。第二个选项,您可以使用更新的版本信息更新.ipa和.plist文件后使用推送通知。

In your case I think you are looking for solution to scenario-2. You can implement something similar to what Apple does when you submit updated version to Appstore. They display updated apps in Updates section and you re-install the App. You can have some section in your app that check if there is an updates and calls itunes service with your HTML link which will directly give pop-up to users asking for installing updated app. Second option you can use Push notification after you have updated .ipa and .plist file with updated version information.

这篇关于更新内部应用程序 - iOS企业开发人员计划的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆