From 4257d0a566b3eb5af3a13376970bd2df63f721e7 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Thu, 1 Feb 2018 19:43:24 +0900 Subject: [PATCH 1/2] Update iOS link to geo-detect show correct store listing Adding 'geo.' at beginning of the URL will automatically show users the store listing for their region so it's a better experience. For example users in Japan will see: https://itunes.apple.com/jp/app/nextcloud/id1125420102?mt=8 which has local customer reviews and certain other information in Japanese. --- themes/example/defaults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/example/defaults.php b/themes/example/defaults.php index 186cda236b..39006c94ad 100644 --- a/themes/example/defaults.php +++ b/themes/example/defaults.php @@ -41,7 +41,7 @@ class OC_Theme { * @return string URL */ public function getiOSClientUrl() { - return 'https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8'; + return 'https://geo.itunes.apple.com/us/app/nextcloud/id1125420102?mt=8'; } /** From 18898383c5d9425e0701dbec3954e066a27e776a Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Fri, 2 Feb 2018 20:37:58 +0900 Subject: [PATCH 2/2] Update defaults.php --- lib/private/legacy/defaults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/legacy/defaults.php b/lib/private/legacy/defaults.php index 494c65ef22..aa6ef08671 100644 --- a/lib/private/legacy/defaults.php +++ b/lib/private/legacy/defaults.php @@ -60,7 +60,7 @@ class OC_Defaults { $this->defaultTitle = 'Nextcloud'; /* can be a longer name, for titles */ $this->defaultBaseUrl = 'https://nextcloud.com'; $this->defaultSyncClientUrl = 'https://nextcloud.com/install/#install-clients'; - $this->defaultiOSClientUrl = 'https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8'; + $this->defaultiOSClientUrl = 'https://geo.itunes.apple.com/us/app/nextcloud/id1125420102?mt=8'; $this->defaultiTunesAppId = '1125420102'; $this->defaultAndroidClientUrl = 'https://play.google.com/store/apps/details?id=com.nextcloud.client'; $this->defaultDocBaseUrl = 'https://docs.nextcloud.com';