iOS7 itms-services scheme not work?

陌路散爱 提交于 2019-12-18 17:29:13

问题


I have an in-house app which I distribute over a local wifi

in release page have a link like this

itms-services://?action=download-manifest&url=http://192.168.1.231/app/plist/houseApp/out.plist

this worked on iOS 7 Safari

but when i add this page to main screen (like web app)

the same link didn't work, and apache access.log have no record about /app/plist/houseApp/out.plist

this worked in iOS 6

Anybody knows about this?


回答1:


It seems Apple have disabled all URL schemas in iOS7 (including mailto: links) in standalone webapps. This has seriously implications for my place of work.

See this post: https://discussions.apple.com/thread/5385948?start=0&tstart=0




回答2:


On the 7.1 update all software installation services are forced to use the HTTPS protocol, also covering non-standard itms-services:// URLs.

You need to change the protocol type:

  • from: itms-services://?action=download-manifest&url=http://yourdomain.com/manifest.plist
  • to: itms-services://?action=download-manifest&url=https://yourdomain.com/manifest.plist

For more detail and how to get a certificate go to: Fix certificate error on iOS 7




回答3:


This worked for me in iOS 8.0. Simply use https for URLs.



来源:https://stackoverflow.com/questions/18973767/ios7-itms-services-scheme-not-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!