Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3886

Android app can no longer connect to HTTP sites

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for testing
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.5
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
    • Testing Instructions:
      Hide

      This issue needs to be tested in Android only.

      1. In the app, click to add a new site.
      2. Enter a HTTP site. Check that you successfully reach the credentials screen.
      3. Enter your credentials. Check that you successfully enter the site.
      Show
      This issue needs to be tested in Android only. In the app, click to add a new site. Enter a HTTP site. Check that you successfully reach the credentials screen. Enter your credentials. Check that you successfully enter the site.
    • Affected Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
    • Sprint:
      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.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Peer reviewer:
            Pau Ferrer Pau Ferrer
            Integrator:
            Pau Ferrer Pau Ferrer
            Tester:
            Isabel Renedo Rouco Isabel Renedo Rouco
            Participants:
            Component watchers:
            Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: