diff --git a/android/src/com/mapswithme/util/Constants.java b/android/src/com/mapswithme/util/Constants.java index c1a4823a5f..d335c49f1f 100644 --- a/android/src/com/mapswithme/util/Constants.java +++ b/android/src/com/mapswithme/util/Constants.java @@ -14,7 +14,7 @@ public final class Constants public static class Url { public static final String SHORT_SHARE_PREFIX = "om://"; - public static final String HTTP_SHARE_PREFIX = "http://omaps.app/"; + public static final String HTTP_SHARE_PREFIX = "https://omaps.app/"; public static final String MAILTO_SCHEME = "mailto:"; public static final String MAIL_SUBJECT = "?subject="; diff --git a/data/strings/strings.txt b/data/strings/strings.txt index e909167baa..9ee8fa01d4 100644 --- a/data/strings/strings.txt +++ b/data/strings/strings.txt @@ -3633,7 +3633,7 @@ fa = نه ,متشکرم [bookmark_share_sms] - comment = Share one specific bookmark using SMS, %1$@ contains om:// and %2$@ http://omaps.app link. @NOTE non-ascii symbols in the link will result in max 70 characters SMS instead of 140. + comment = Share one specific bookmark using SMS, %1$@ contains om:// and %2$@ https://omaps.app link. @NOTE non-ascii symbols in the link will result in max 70 characters SMS instead of 140. tags = ios,android en = Hey, check out my pin at Organic Maps! %1$@ or %2$@ Don't have offline maps installed? Download here: https://omaps.app/get ru = Моя метка на карте. Жми %1$@ или %2$@ @@ -3666,7 +3666,7 @@ sk = Pozrite na moju značku na mape. Otvoriť odkaz: %1$@ alebo %2$@ [my_position_share_sms] - comment = Share my position using SMS, %1$@ contains om:// and %2$@ http://omaps.app link WITHOUT NAME. @NOTE non-ascii symbols in the link will result in max 70 characters SMS instead of 140. + comment = Share my position using SMS, %1$@ contains om:// and %2$@ https://omaps.app link WITHOUT NAME. @NOTE non-ascii symbols in the link will result in max 70 characters SMS instead of 140. tags = ios,android en = Hey, check out my current location in Organic Maps! %1$@ or %2$@ Don't have offline maps? Download here: https://omaps.app/get ru = Смотри где я сейчас. Жми %1$@ или %2$@ @@ -3768,7 +3768,7 @@ sk = Pozrite si moju aktuálnu polohu na mape Organic Maps [my_position_share_email] - comment = Share my position using EMail, %1$@ is om:// and %2$@ is http://omaps.app link WITHOUT NAME + comment = Share my position using EMail, %1$@ is om:// and %2$@ is https://omaps.app link WITHOUT NAME tags = ios,android en = Hi,\n\nI'm here now: %1$@. Click this link %2$@ or this one %3$@ to see the place on the map.\n\nThanks. ru = Привет!\n\nЯ сейчас здесь: %1$@. Чтобы увидеть это место на карте Organic Maps, открой эту ссылку %2$@ или эту %3$@\n\nСпасибо. diff --git a/iphone/Maps/Classes/Share/MWMEditorViralActivityItem.mm b/iphone/Maps/Classes/Share/MWMEditorViralActivityItem.mm index d411f1eb47..d24976a4cf 100644 --- a/iphone/Maps/Classes/Share/MWMEditorViralActivityItem.mm +++ b/iphone/Maps/Classes/Share/MWMEditorViralActivityItem.mm @@ -18,7 +18,7 @@ [activityType isEqualToString:@"com.facebook.Facebook.ShareExtension"] || [activityType.lowercaseString rangeOfString:@"facebook"].length) { - NSString * url = [NSString stringWithFormat:@"http://omaps.app/fb-editor-v1?lang=%@", + NSString * url = [NSString stringWithFormat:@"https://omaps.app/fb-editor-v1?lang=%@", @(languages::GetCurrentNorm().c_str())]; return [NSURL URLWithString:url]; } diff --git a/iphone/Maps/Classes/Share/MWMShareActivityItem.mm b/iphone/Maps/Classes/Share/MWMShareActivityItem.mm index c1ea058ddb..9c6289694e 100644 --- a/iphone/Maps/Classes/Share/MWMShareActivityItem.mm +++ b/iphone/Maps/Classes/Share/MWMShareActivityItem.mm @@ -8,8 +8,8 @@ NSString * httpGe0Url(NSString * shortUrl) { - // Replace 'om://' with 'http://omaps.app/' - return [shortUrl stringByReplacingCharactersInRange:NSMakeRange(0, 5) withString:@"http://omaps.app/"]; + // Replace 'om://' with 'https://omaps.app/' + return [shortUrl stringByReplacingCharactersInRange:NSMakeRange(0, 5) withString:@"https://omaps.app/"]; } @interface MWMShareActivityItem ()