可以从应用程序中读取企业iOS下载链接plist吗? [英] Possible to read the enterprise iOS download link plist from within the app?

查看:131
本文介绍了可以从应用程序中读取企业iOS下载链接plist吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想分发一个Enterprise iOS应用程序,以便在用户打开该应用程序时,它已经显示了其名称和其他信息,即使.ipa与每个其他用户下载的.ipa相同.我认为可以通过为用户提供特定于他们的应用程序下载URL并生成所需的Enterprise下载plist来包含一些用户数据来做到这一点,但是我的问题是:

I'd like to distribute an Enterprise iOS app such that by the time the user opens it, it is already displaying their name and other info, even though the .ipa is the same .ipa that every other user downloads. I figure that I could do this by giving the user an app download URL specific to them and generating the required Enterprise download plist to include some user data, but my question is:

是否甚至可以从应用程序内的下载链接访问/读取Plist?如果可以,怎么办?

Is it even possible to access/read the Plist from the download link from within the app? If so, how?

推荐答案

有一种方法可以从App内读取企业下载链接(但我确定您不要求下载和读取代码)文件),但无法在不更改IPA本身的情况下根据索引页或清单文件中的参数在App中显示不同的内容.

There is a way to read the enterprise download link from within the App (but I'm sure you're not asking for the code to download and read a file), but there is no way to display something different in the App based on a parameter on the index page or manifest file, without changing the IPA itself.

不幸的是,已安装的应用程序不知道从其下载的清单文件或索引页面.

Unfortunately, the installed App has no knowledge of the manifest file or index page that it was downloaded from.

使用参考文献/来源进行编辑

该链接在标题为将您的应用导出到App Store外部进行测试"的部分下:

This link, under the section, titled "Exporting Your App for Testing Outside the App Store": Exporting Your App for Testing (iOS, watchOS), discusses manifest files, but makes no mention of any chain of data from web deployment to the app.

我还与Apple的一位高级顾问进行了交谈,他确认没有任何机制可以使该应用程序了解该应用程序的安装位置.

I also spoke to a senior Apple adviser, who confirmed that there is no mechanism that gives an App any knowledge of where the App was installed from.

这篇关于可以从应用程序中读取企业iOS下载链接plist吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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