Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-74898

Remove NO_MOODLE_COOKIES from android app manifest

    XMLWordPrintable

Details

    • Improvement
    • Status: Development in progress
    • Minor
    • Resolution: Unresolved
    • 4.0.1
    • None
    • Web Services

    Description

      I need to be able to suggest different mobile apps to different users (since different tenants in Moodle Workplace may have different branded apps).

      The android app id is not embedded in the page like ios app but instead we include a link to the manifest file and the manifest file contains app id.

      Manifest file declares NO_MOODLE_COOKIES for some reason - see https://github.com/moodle/moodle/blob/master/admin/tool/mobile/mobile.webmanifest.php#L31

      This issue suggests to remove NO_MOODLE_COOKIES so we can serve each user their own apps (we will modify env in the after_config hook).

      I'm going to create an issue here and pull this change into workplace code and see it it works, if it does, we can remove NO_MOODLE_COOKIES from core completely, it does not really add any value

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              marina Marina Glancy
              Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: