简体   繁体   中英

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.

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). Modal has login info next to the button.

Safari opens, I copy and paste from the modal or just remember the login info. 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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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