Created
February 13, 2017 09:54
-
-
Save IvanovDeveloper/c8d04fe09f698e158fe4465c3ec102ec to your computer and use it in GitHub Desktop.
Для того чтобы открыть iOS приложение по ссылке необходимо реализовать скрипт который открывает другую ссылку с которой связано приложение.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<body> | |
<script type="text/javascript"> | |
setTimeout(function () { | |
//This link will be changed later. If application not installed at device, this link for opening the app in appstore. | |
window.location = "https://itunes.apple.com/us/app/swelp-focus-on-the-core/id1148572155?l=ru&ls=1&mt=8"; | |
}, 25); | |
//Link for product should be "mainAndMe://products/[current product id]"; | |
//Link for store should be "mainAndMe://stores/[current store id]"; | |
window.location = "mainAndMe://products/636"; | |
</script> | |
<iframe id="l" width=e"1" height="1" style="visibility:hidden"></iframe> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment