redirect to test flight page ios
This commit is contained in:
parent
b973007e42
commit
ade32a1dc4
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue