Update domains to comaps.app

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-05-22 18:39:24 +07:00
committed by Konstantin Pastbin
parent a08110e83d
commit 36bb1e3182
5 changed files with 6 additions and 7 deletions

View File

@@ -120,7 +120,7 @@
<data android:scheme="http"/>
<data android:scheme="https"/>
<data android:host="omaps.app"/>
<data android:host="comaps.app"/>
</intent-filter>
<intent-filter>

View File

@@ -329,9 +329,9 @@ public final class Config
public static String getDonateUrl(@NonNull Context context)
{
final String url = getString(KEY_DONATE_URL);
// Enable donations by default if not Google or Huawei. Replace organicmaps.app/donate/ with localized page.
// Enable donations by default if not Google or Huawei. Replace comaps.app/donate/ with localized page.
if ((url.isEmpty() && !BuildConfig.FLAVOR.equals("google") && !BuildConfig.FLAVOR.equals("huawei")) ||
url.endsWith("organicmaps.app/donate/"))
url.endsWith("comaps.app/donate/"))
return context.getString(R.string.app_site_url) + "donate/";
return url;
}

View File

@@ -14,7 +14,6 @@
</trust-anchors>
</base-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">organicmaps.app</domain>
<domain includeSubdomains="true">omaps.app</domain>
<domain includeSubdomains="true">comaps.app</domain>
</domain-config>
</network-security-config>

View File

@@ -12,7 +12,7 @@ class Ge0Parser
public:
// Used by map/mwm_url.cpp.
static constexpr std::array<std::string_view, 6> kGe0Prefixes = {{
"https://omaps.app/", "om://", "http://omaps.app/",
"https://comaps.app/", "om://", "http://comaps.app/",
"ge0://", "http://ge0.me/", "https://ge0.me/"
}};

View File

@@ -31,7 +31,7 @@ while getopts ":cdrxtagjlp:n:" opt; do
r) OPT_RELEASE=1 ;;
t) OPT_DESIGNER=1 ;;
*)
echo "This tool builds Organic Maps"
echo "Build the desktop app and other C++ targets (tests, tools...)"
echo "Usage: $0 [-d] [-r] [-c] [-x] [-s] [-t] [-a] [-g] [-j] [-l] [-p PATH] [-n NUM] [target1 target2 ...]"
echo
echo "By default both debug and release versions are built in ../omim-build-<buildtype> dir."