accrescent / meta

Umbrella Accrescent issue tracker
6 stars 1 forks source link

Update policy on usesCleartextTraffic #35

Closed lberrymage closed 2 months ago

lberrymage commented 2 months ago

The documentation currently states:

The android:usesCleartextTraffic attribute in the Android manifest must not be "true". This check may move to manual review in the future.

We have had multiple developers ask about this requirement since they find it conflicting with their needs. Notably, the Play Store does not do this sort of check. Moreover, the check is not fully implemented because it doesn't take network security configs into account, meaning it's bypassable. Finally, it's not truly enforceable anyway since the operating system can't reliably determine whether traffic is cleartext or not.

We should at a minimum:

However, because usesCleartextTraffic can be a useful security indicator, we may also want to notify developers in the developer console when their app allows cleartext traffic through either the app manifest or network security config