简体   繁体   English

推送通知以提醒企业更新?

[英]Push notification to alert for Enterprise update?

Are there any suggestions for the feasibility/correctness of this solution? 关于此解决方案的可行性/正确性有什么建议吗? Enterprise app with quarterly updates. 具有季度更新的企业应用程序。 Client unwilling to use MDM solution. 客户不愿使用MDM解决方案。

Using push, alert the app of an update. 使用推送,提醒应用更新。 An action on the notification or just opening the app pops a modal with a button to open Safari to download the updated app (url is in code). 对通知进行的操作或仅打开应用程序都会弹出一个带有按钮的模式,以打开Safari来下载更新的应用程序(URL在代码中)。 Modal has login info next to the button. Modal在按钮旁边有登录信息。

Safari opens, I copy and paste from the modal or just remember the login info. Safari打开,我从模式中复制并粘贴,或者只记得登录信息。 App installs. 应用安装。 I reopen and the notif. 我重新打开和通知。 is gone because a fresh install happened so no need to remove it. 之所以消失,是因为进行了全新安装,因此无需删除它。

Has anyone done something similar? 有人做过类似的事情吗?

If I undestand you right, you can explicitly open URL to manifest of your enterprise build right from your application code instead of opening html page with exactly the same url inside. 如果我不理解您的意思,则可以从应用程序代码中显式打开URL来显示企业构建的清单,而不用打开其中的URL完全相同的html页面。

NSString * urlString =@"itms-services://?action=download-manifest&url=https://mywebsite.com/path_to_distr/manifest.plist"
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlString]];

This will launch the update process. 这将启动更新过程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM