Added support for user certs (#714)

To support connecting to Kodi over SSL using self-signed certificates
we need to allow this explicitly for Android versions 6 and higher.
This commit is contained in:
Martijn Brekhof 2020-02-20 20:49:10 +01:00 committed by GitHub
parent 33043396b8
commit e92722375c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -17,7 +17,8 @@
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name">
android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config">
<!-- Activities -->
<activity

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config>
<trust-anchors>
<certificates src="user" />
</trust-anchors>
</base-config>
</network-security-config>