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

Support site referrer URL for new installs in iOS devices as well

    XMLWordPrintable

Details

    Description

      This will be a nice addition to the currently supported features in Android (MOBILE-4410)

      We should just copy the Firebase Dynamic Links approach (being deprecated) but that works, see attached links and relevant screenshots

      https://firebase.google.com/docs/dynamic-links/operating-system-integrations#ios_integration_flowchart

      So the approach for iOS would be:
      1. The user clicks the "Get the mobile app" link
      2. The user is redirected to our download page https://download.moodle.org/mobile?siteurl=https://mymoodlesite.com
      3. The download page presents the link to Apple App Store
      4. The user clicks the Apple App Store button, using JS we copy to the iOS clipboard (only iOS, detecting user agent) the site URL pre-pending something to the copied text indicating that it is a valid site URL: for example moodlesiteurl:https://mymoodlesite.com
      5. The user opens the app, and the app analyses the clipboard to check for a copied text starting by moodlesiteurl:, if success, the user is automatically redirected to their Moodle site so they can enter their credentials.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jleyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Clockify

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