From ade32a1dc4873013a16c13d7bad8f577fd6f9d45 Mon Sep 17 00:00:00 2001 From: Andrea Maria Piana Date: Fri, 29 Jun 2018 08:33:59 +0200 Subject: [PATCH] redirect to test flight page ios --- public/javascripts/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/javascripts/app.js b/public/javascripts/app.js index 220e98c..f290123 100644 --- a/public/javascripts/app.js +++ b/public/javascripts/app.js @@ -17,13 +17,17 @@ return userAgent.toLowerCase().indexOf("iphone") > -1; } + function testFlightURL() { + return "https://status.im/success"; + } + $(document).ready(function () { var appStoreLink = $("#app-store-link"); if (isAndroid(navigator.userAgent)) { appStoreLink.attr('href', buildPlayStoreUrl()); } else if (isIOS(navigator.userAgent)) { - appStoreLink.attr('href', buildItunesUrl()); + appStoreLink.attr('href', testFlightURL()); } else { appStoreLink.attr('href', buildPlayStoreUrl()); }