https://developer.android.com/guide/topics/manifest/application-element#usesCleartextTraffic According to android developer documents. Indicates whether the app intends to use cleartext network traffic, such as cleartext HTTP. The default value for apps that target API level 27 or lower is "true" . Apps that target API level 28 or higher default to "false" . When the attribute is set to "false" , platform components (for example, HTTP and FTP stacks, DownloadManager , and MediaPlayer ) will refuse the app's requests to use cleartext traffic. Third-party libraries are strongly encouraged to honor this setting as well. The key reason for avoiding cleartext traffic is the lack of confidentiality, authenticity, and protections against tampering; a network attacker can eavesdrop on transmitted data and also modify it without being detected. This attribute was added in API level 23. This flag is ignored on Android 7.0 (API level 24) and above if an Andro...
Comments
Post a Comment