Allow using custom tile server via HTTP (#3976)

This commit is contained in:
Texas 2025-12-16 01:53:35 +05:00 committed by GitHub
parent 537b793999
commit 42e78f8f2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 1 deletions

View file

@ -105,7 +105,8 @@
android:supportsRtl="true"
android:hardwareAccelerated="true"
android:theme="@style/SplashTheme"
android:localeConfig="@xml/locales_config">
android:localeConfig="@xml/locales_config"
android:networkSecurityConfig="@xml/network_security_config">
<!-- Default crash collection and analytics off until we (possibly) turn it on in application.onCreate -->
<meta-data

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config cleartextTrafficPermitted="false">
<trust-anchors>
<certificates src="system"/>
</trust-anchors>
</base-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">127.0.0.1</domain>
<domain includeSubdomains="true">localhost</domain>
</domain-config>
</network-security-config>