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

local_mobile in 3.0 shows reconnect screen really often

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Install the app without this patch and add prototype 3.0 to your app. Check that if you logout/login or re-start the app you go to reconnect screen.
      2. Now install the app with this patch. You should go to reconnect screen again, but once you reconnect once you should be able to re-login or re-start fine.
      3. Now delete that site and add it as a new site. Check that you can re-login or re-start without going to reconnect screen.
      4. Check that you can add sites without local_mobile and they work fine.
      5. Check that your sites already stored work fine.
      6. Add prototype 2.4 (uses SSO login) and check that it works fine.
      Show
      Install the app without this patch and add prototype 3.0 to your app. Check that if you logout/login or re-start the app you go to reconnect screen. Now install the app with this patch. You should go to reconnect screen again, but once you reconnect once you should be able to re-login or re-start fine. Now delete that site and add it as a new site. Check that you can re-login or re-start without going to reconnect screen. Check that you can add sites without local_mobile and they work fine. Check that your sites already stored work fine. Add prototype 2.4 (uses SSO login) and check that it works fine.

      Description

      Right now the only way to detect if the app is using local_mobile is to check if there's any function with local_mobile prefix. In 3.0 with local_mobile installed there isn't any function with local_mobile prefix, so the app thinks it's not using it but it detects it as installed, showing the reconnect screen.

      We should store the service used in the site when a site is added/reconnected.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Peer reviewer:
            Frédéric Massart
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: