[英]Direct download and install ipa on iPhone
我已經提到了此鏈接
我有一個簡單的頁面,用戶可以在其中從我的服務器下載iOS應用程序。 plist URL是
<a charset='UTF-8' href='itms-services://?action=download-manifest&url=<?php echo $ios_plist_url; ?>' >IOS Application</a>
當用戶單擊以上鏈接時,Safari瀏覽器將提示您安裝應用。 這是預期的行為。 但是問題是,當我嘗試直接重定向到plist URL時,瀏覽器會首先提示Open this page in "App Store?"
如果用戶單擊“ Open
,則將提示您"Install"
。 有什么辦法可以繞過此應用商店警報?
請提出建議。
編輯
<?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>`
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.