ios system app version installation

The way to install and upgrade apps in the ios system is different from that of Android apps. Android apps can be downloaded from any file server that can be downloaded by a common browser, but the app installation process of ios is as follows:

1. Prepare a plist file (end with .plist, the content of the plist file can be Baidu);

2.  In the content of the plist file, the url of the ipa file to download the ios app needs to be provided (the url does not need to support https);

3.  Put the plist file under the url that supports the https protocol (the url must support https);

(The above two requirements: accessing the plist file itself must support https, but the url in the plist file content does not need to support https).

 

The following is a description of the url node of the ipa file in the content of the plist file:

1. The url can be the url that directly downloads the ipa file, that is, the url that stores the ipa file,

For example: http://yanchangyou.github.io/test/download/ipa/KFARedMaster.ipa ;

2. The suffix of the url does not have to end with .ipa,

For example: http://yanchangyou.github.io/test/download/ipa/KFARedMaster.ipb

(The premise is that the stored file must also end in .ipb)

3. The url does not support parameters, for example:

http://yanchangyou.github.io/test/download/ipa/KFARedMaster.ipa?param1=xxx¶m2=yyy&subfix=KFARedMaster.ipa

It can be directly opened and downloaded in ordinary browsers, but cannot be downloaded and installed in Apple browsers.

4. For the third case, you can download indirectly by jumping, for example:

http://172.19.137.152:8080/redirect2/test301.jsp

test301.jsp code:

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
    response.setStatus(301); // also supports 302 jump
    response.sendRedirect("http://yanchangyou.github.io/test/download/ipa/KFARedMaster.ipa?objectId=1440148899170835&requestId=4caecf2b-c0b1-4ea3-bbf8-0489db3ee30a&salAccessKeyId=9N1CtXdnnvfTzQtL");
%>

 

 

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326990542&siteId=291194637