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>`