Adds a new network_security_config to allow custom CAs installed by user. This is needed for Android 7+, see https://android-developers.googleblog.com/2016/07/changes-to-trusted-certificate.html.

Этот коммит содержится в:
Martin Wilhelm
2017-09-07 10:43:05 +02:00
родитель 40eaa5e26c
Коммит f64f585c90
2 изменённых файлов: 11 добавлений и 1 удалений
+2 -1
Просмотреть файл
@@ -9,7 +9,8 @@
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme">
android:theme="@style/AppTheme"
android:networkSecurityConfig=”@xml/network_security_config”>
<activity
android:name=".MainActivity"