Skip to content

Commit

Permalink
Allow cleartext traffic (Closes #58)
Browse files Browse the repository at this point in the history
  • Loading branch information
lneugebauer committed Aug 19, 2024
1 parent 7a0d5ae commit f177094
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
android:networkSecurityConfig="@xml/network_security_config"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.NextcloudCookbook.Splash">
android:theme="@style/Theme.NextcloudCookbook.Splash"
android:usesCleartextTraffic="true">
<activity
android:name=".core.presentation.MainActivity"
android:exported="true"
Expand Down
4 changes: 3 additions & 1 deletion app/src/main/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config xmlns:tools="http://schemas.android.com/tools">
<base-config cleartextTrafficPermitted="false">
<base-config
cleartextTrafficPermitted="true"
tools:ignore="InsecureBaseConfiguration">
<trust-anchors>
<certificates src="system" />
<certificates
Expand Down

0 comments on commit f177094

Please sign in to comment.