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

Use Android photo picker to avoid using READ_MEDIA_IMAGES and READ_MEDIA_VIDEO

XMLWordPrintable

    • Hide

      This issue has updated the camera plugin by removing some unnecessary permissions, so everything should continue working as expected. This plugin is used both for taking pictures and selecting images from the file picker.

      This should only affect Android, but to make sure that the update didn't break anything, it would be useful to test in iOS as well.

      Show
      This issue has updated the camera plugin by removing some unnecessary permissions, so everything should continue working as expected. This plugin is used both for taking pictures and selecting images from the file picker. This should only affect Android, but to make sure that the update didn't break anything, it would be useful to test in iOS as well.
    • MOODLE_404_STABLE
    • Moodle Apps - 2024 i1.3

      On August 31 2024, a new Google policy will take effect to restrict more the usage of READ_MEDIA_IMAGES and READ_MEDIA_VIDEO permissions. The Camera plugin we use to select images and videos currently uses these permissions.

      Google says:

      Apps that have a one-time or infrequent need to access these files are requested to use a system picker, such as the Android photo picker.

      We should use this picker in our app to avoid using these permissions. Hopefully the Cordova team will do it, otherwise we'll need to do it ourselves in our fork of the plugin.

      https://support.google.com/googleplay/android-developer/answer/13986130?hl=en

      I opened a feature request in the camera plugin:

      https://github.com/apache/cordova-plugin-camera/issues/866

            noeldemartin Noel De Martin
            dpalou Dani Palou
            Dani Palou Dani Palou
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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