trust user cas

This commit is contained in:
Bnyro 2022-07-17 13:10:02 +02:00
parent 96f25cae5d
commit aadf6d441a
2 changed files with 13 additions and 6 deletions

View File

@ -21,10 +21,6 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Purple">
<activity
android:name=".activities.Player"
android:configChanges="orientation|screenSize"
android:exported="false" />
<activity
android:name=".activities.NoInternetActivity"
android:label="@string/noInternet" />

View File

@ -1,4 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config cleartextTrafficPermitted="true" />
<network-security-config xmlns:tools="http://schemas.android.com/tools">
<!-- Allow clear text traffic -->
<base-config
cleartextTrafficPermitted="true"
tools:ignore="InsecureBaseConfiguration">
<trust-anchors>
<!-- Trust preinstalled CAs -->
<certificates src="system" />
<!-- Additionally trust user added CAs -->
<certificates src="user"
tools:ignore="AcceptsUserCertificates" />
</trust-anchors>
</base-config>
</network-security-config>