Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-778 META: Migrate to Ionic
  3. MOBILE-1062

Android's back button can't close the app after login

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Android
    • Labels:
    • Testing Instructions:
      Hide
      1. Install the app on an Android device.
      2. Check that you can close the app by clicking back button in my courses after:
        • Adding a new site (demo or not).
        • Accessing a site recorded in the app (login).
        • Reconnecting to a site.
        • Clicking a notification (local or push).
      Show
      Install the app on an Android device. Check that you can close the app by clicking back button in my courses after: Adding a new site (demo or not). Accessing a site recorded in the app (login). Reconnecting to a site. Clicking a notification (local or push).
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Pull Master Branch:

      Description

      When we're on a "site" root state we can close the app using Android's back button, but when we complete a login it doesn't work (I guess because of the history left by login).

      Also, when we use the "redirect" state and then click the back button it just refreshes the screen (history goes back to redirect state and then it's redirected again to the same state).

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Peer reviewer:
            Juan Leyva Juan Leyva
            Integrator:
            Juan Leyva Juan Leyva
            Tester:
            Juan Leyva Juan Leyva
            Participants:
            Component watchers:
            Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              31/Jul/15