mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-06 04:24:29 +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>
|
||||
|
||||
Reference in New Issue
Block a user