Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Zatsepin <az@mapswithme.com>2018-09-21 15:38:58 +0300
committerburivuh <burivuh@maps.me>2018-09-21 18:21:02 +0300
commitc96274abf285792db6812fefaf250dac911c3bc5 (patch)
tree5bf0406088d3f5dac53c474bcdc9f39a78b41f80 /android
parentc6491590627f3adb62e83f2413f1c44985638c51 (diff)
[android] Added selfsigned ssl support for Android N and higher
Diffstat (limited to 'android')
-rw-r--r--android/AndroidManifest.xml1
-rw-r--r--android/res/xml/network_security_config.xml4
2 files changed, 5 insertions, 0 deletions
diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml
index 6358e9dc46..990177c778 100644
--- a/android/AndroidManifest.xml
+++ b/android/AndroidManifest.xml
@@ -63,6 +63,7 @@
android:label="@string/app_name"
android:theme="@style/MwmTheme"
android:supportsRtl="false"
+ android:networkSecurityConfig="@xml/network_security_config"
tools:replace="android:supportsRtl"
tools:ignore="UnusedAttribute">
diff --git a/android/res/xml/network_security_config.xml b/android/res/xml/network_security_config.xml
new file mode 100644
index 0000000000..4c4f5be6c1
--- /dev/null
+++ b/android/res/xml/network_security_config.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<network-security-config>
+ <!-- Do nothing by default. -->
+</network-security-config>