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

Custom URL scheme links and mailto/tel/etc links don't work in InAppBrowser in IOS

XMLWordPrintable

    • Hide

      This issue needs to be tested in 1 Android and 1 iOS device.

      1. Make sure BCN academy app is installed in the device along with the Moodle app.
      2. In the app, login in our 4.4 site, go to More tab and open "MOBILE-4602 page".
      3. In the new page, click "Link to open email". Check that the mail app is opened.
      4. Now click "Phone link". In Android, it should open the phone app, in iOS it should display a popover with options like "Call", "Send message", etc.
      5. Now click "Link to open email with target="blank". Check that the mail app is opened.
        1. In Android, when you go back to the Moodle app you will see the Moodle login form, this is a known issue caused by the partitioned cookies problem (MOBILE-4604). The only way to fix this case means breaking other cases, so we decided to leave this as a known issue. You will have to close the embedded browser, wait 1 minute (so auto-login works again) and re-open "MOBILE-4602 page".
      6. Now click "BCN academy link". Check that the BCN academy app is opened.
        1. As above, in Android when you go back to the Moodle app you will see the Moodle login form.
      Show
      This issue needs to be tested in 1 Android and 1 iOS device. Make sure BCN academy app is installed in the device along with the Moodle app. In the app, login in our 4.4 site, go to More tab and open " MOBILE-4602 page". In the new page, click "Link to open email". Check that the mail app is opened. Now click "Phone link". In Android, it should open the phone app, in iOS it should display a popover with options like "Call", "Send message", etc. Now click "Link to open email with target="blank". Check that the mail app is opened. In Android, when you go back to the Moodle app you will see the Moodle login form, this is a known issue caused by the partitioned cookies problem ( MOBILE-4604 ). The only way to fix this case means breaking other cases, so we decided to leave this as a known issue. You will have to close the embedded browser, wait 1 minute (so auto-login works again) and re-open " MOBILE-4602 page". Now click "BCN academy link". Check that the BCN academy app is opened. As above, in Android when you go back to the Moodle app you will see the Moodle login form.
    • MOODLE_403_STABLE
    • MOODLE_405_STABLE
    • Moodle Apps - 2024 i3.1, Moodle Apps - 2024 i3.2

      For custom URL schemes, we launch them from our app's code in Android, I guess this used to work in iOS but now it doesn't so we probably need to launch them from the app in iOS too.

      mailto/tel/sms/geo/market links work fine in Android without custom code (it doesn't trigger loadstart), but in iOS it doesn't.

      EDIT: we also noticed that mailto links using target="_blank" don't work in Android either.

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 6 hours, 15 minutes
                2d 6h 15m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.