Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<!-- Include Cleartext traffic for the espresso package -->

<application android:usesCleartextTraffic="true" />

<!-- The network security config is needed for Espresso testing since it
uses http cleartext traffic.
-->
<application android:networkSecurityConfig="@xml/network_security_config">
<meta-data android:name="io.flutter.network-policy"
android:resource="@xml/network_security_config"/>
</application>
</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<!-- Cleartext is needed for Espresso testing. -->
<base-config cleartextTrafficPermitted="true">
</base-config>
</network-security-config>
Loading