Details
-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.5
-
-
MOODLE_39_STABLE
-
MOODLE_400_STABLE
-
Moodle App 4.0
Description
The latest development version can no longer connect to HTTP sites, it show this error:
There was an error with the request: Cleartext HTTP traffic to {URL} not permitted
This doesn't happen with master branch, I don't know what changed this. Maybe it's the AndroidX change?
IMO this isn't supposed to happen if android:usesCleartextTraffic="true" is set, but it still happens. Using a custom network_security_config.xml does seem to fix it.