mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-09 22:04:43 +00:00
Update domains to comaps.app
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
a08110e83d
commit
36bb1e3182
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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/"
|
||||
}};
|
||||
|
||||
|
||||
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user