Mobile-Detect icon indicating copy to clipboard operation
Mobile-Detect copied to clipboard

itms-services OTA installations do not detect mobile

Open ghost opened this issue 8 years ago • 0 comments

On iOS it is possible to install Enterprise-signed apps by using a web link with the itms-services:// protocol, e.g.:

itms-services://?action=download-manifest&url=https://website/app.plist

The plist contains a link to the IPA binary to install.

What appears to happen is the device requests the plist file but the inbound caller to the web server for the IPA file has an iTunes Store Daemon user agent:

itunesstored/1.0 iOS/9.1 model/iPhone7,2 hwp/t7000 build/13B5110e (6; dt:106) itunesstored/1.0 iOS/9.0.2 model/iPhone6,2 hwp/s5l8960x build/13A452 (6; dt:90)

The iPhone string is within this string but isMobile() fails to return true in these cases.

ghost avatar Nov 24 '15 11:11 ghost