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

Let links specify if they should be opened in InAppBrowser

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Tested
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.2
    • Fix Version/s: None
    • Component/s: BMA, Others
    • Testing Instructions:
      Hide

      Test the app on any device of your choice:

      1. On dev master > Dev testing course > Links to Capture.
      2. Click on Google in app and check the link opens in the inapp browser.
      3. Click on Google in browser and check the link opens in the system browser.
      4. Check Custom menu items open in the selected place (as before).

      Test the app on a simulator (Dev driven):

      1. Open config.json and set forceOpenLinksIn to app.
      2. Repeat the test above and check both links opens  in the inapp browser. Except Custom menu items.
      3. Open config.json and set forceOpenLinksIn to browser.
      4. Repeat the test above and check both links opens  in the system browser. Except Custom menu items.
      Show
      Test the app on any device of your choice: On dev master > Dev testing course > Links to Capture. Click on Google in app and check the link opens in the inapp browser. Click on Google in browser and check the link opens in the system browser. Check Custom menu items open in the selected place (as before). Test the app on a simulator (Dev driven): Open config.json and set forceOpenLinksIn to app. Repeat the test above and check both links opens  in the inapp browser. Except Custom menu items. Open config.json and set forceOpenLinksIn to browser. Repeat the test above and check both links opens  in the system browser. Except Custom menu items.
    • Affected Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle App 3.9.3

      Description

      Right now if a user clicks in the app a link created in Moodle, it's opened in browser if it cannot be opened in the app. We should allow adding some attribute to specify that you want that link to be opened in InAppBrowser.

      We should try with data attributes checking that Moodles does not remove them for students.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: