D/NetworkSecurityConfig(27731): No Network Security Config specified, using platform default code example

Example 1: D/NetworkSecurityConfig: No Network Security Config specified, using platform default

android:usesCleartextTraffic="true"
android:networkSecurityConfig="@xml/network_security_config"

Example 2: D/NetworkSecurityConfig: No Network Security Config specified, using platform default

<?xml version="1.0" encoding="utf-8"?>
  <network-security-config>
    <base-config cleartextTrafficPermitted="true" />
  </network-security-config>

Tags:

Misc Example