duandao1931 2017-03-17 12:37
浏览 117

直接在iPhone上下载并安装ipa

I already referred this link

I have a simple page where a user can download the iOS application from my server. The plist URL is

<a charset='UTF-8' href='itms-services://?action=download-manifest&url=<?php echo $ios_plist_url; ?>' >IOS Application</a>

When user clicks on above link then the safari browser prompts for app install. Which is expected behavior. But the problem is that when I try to redirect to the plist URL directly then the browser first prompts Open this page in "App Store?" and if user clicks Open then it will prompt for "Install". Is there any way to bypass this app store alert?

Please suggest.

EDIT

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
    <dict>
        <key>assets</key>
        <array>
            <dict>
                <key>kind</key>
                <string>software-package</string>
                <key>url</key>
                <string>url to ipa</string>
            </dict>
            <dict>
                <key>kind</key>
                <string>full-size-image</string>
                <key>needs-shine</key>
                <false/>
                <key>url</key>
                <string>logo.png</string>
            </dict>
            <dict>
                <key>kind</key>
                <string>display-image</string>
                <key>needs-shine</key>
                <false/>
                <key>url</key>
                <string>logo.png</string>
            </dict>
        </array>
        <key>metadata</key>
        <dict>
            <key>bundle-identifier</key>
            <string>bundle</string>
            <key>bundle-version</key>
            <string>1.0.</string>
            <key>kind</key>
            <string>software</string>
            <key>subtitle</key>
            <string>XYZ</string>
            <key>title</key>
            <string>App Title</string>
        </dict>
    </dict>
</array>
</dict>
</plist>`
  • 写回答

1条回答 默认 最新

  • dpjjmo3079 2017-03-17 13:29
    关注

    Unfortunately, you cannot bypass the dialogue. This is the default behavior for install link (from app store).

    For test builds (Adhoc) it directly prompts for installation.

    For reference, please check The Weather Channel on your iPhone safari browser.

    评论

报告相同问题?

悬赏问题

  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 stm32开发clion时遇到的编译问题