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

Revise how we detect names of files for showing them on error messages [Android]

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.0.0
    • None
    • File system
    • MOODLE_400_STABLE
    • Moodle App 4.1.0

    Description

      About the name of the file in the error, this is a problem of Android (or the 3rd party plugin we use to select the file). Instead of receiving the "normal" path to the file, Android is using a special path like this:

      content://com.android.providers.media.documents/document/video%3A8006

      And this path doesn't use the original name of the file. So we cannot know the original name, only the one that Android provides us (in the example above, "video:8006"). Unfortunately I'm not sure if we'll be able to fix this, you can open an issue if you wish to look at this later.

       

      Example:

      This was actually PXL_20220222_105722730.mp4

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              isabelrenedo Isabel Renedo Rouco
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: