BenoitDuffez / AndroidCupsPrint

Port of cups4j to Android. Allows wireless printing from any Android device to any CUPS-enabled print server or network printer.
https://benoitduffez.github.io/AndroidCupsPrint
GNU Lesser General Public License v3.0
233 stars 68 forks source link

Allow Clear Text Traffic #159

Closed firefinchdev closed 5 years ago

firefinchdev commented 5 years ago

Android Pie and above does not allow Clear Text HTTP Traffic by default. Its possible to allow such requests to be made by our app using android:usesCleartextTraffic="true" in manifest. Reference: https://stackoverflow.com/questions/51902629/how-to-allow-all-network-connection-types-http-and-https-in-android-9-pie https://stackoverflow.com/questions/45940861/android-8-cleartext-http-traffic-not-permitted

firefinchdev commented 5 years ago

Solves #157

JeanCarlosChavarriaHughes commented 5 years ago

The change seems to be safe to merge and provides backward compatibility. android:usesCleartextTraffic="true"

Thanks