mosabab commented on a change in pull request #1050: usesCleartextTraffic
information
URL: https://github.com/apache/cordova-docs/pull/1050#discussion_r363377712
##########
File path: www/docs/en/dev/guide/platforms/android/index.md
##########
@@ -766,6 +766,22 @@ The corresponding html:
</body>
</html>
```
+### Android Quirks
+The default API level in the Cordova Android platform has been upgraded. On an
Android 9 device, clear text communication is now disabled by default.
+
+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.
Review comment:
looks good to me.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]