CU(E)BES

Loading...

CU(E)BES

1

1

Cyxo

Standard Plus

@cyxo

0

posts

0

friends

3

comments

Forum Replies Created

Viewing 0 reply threads
  • Author
    Posts

    • Standard Plus

      Add the below line in your application tag:

      android:usesCleartextTraffic="true"

      As shown below:

      <application
          ....
          android:usesCleartextTraffic="true"
          ....>

      UPDATE: If you have network security config such as: android:networkSecurityConfig=”@xml/network_security_config”

      No Need to set clear text traffic to true as shown above, instead use the below code:

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

      Set the cleartextTrafficPermitted to true

Viewing 0 reply threads