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

Remove REQUEST_INSTALL_PACKAGES permission from APK file

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.0.2
    • 4.0.1
    • Android, Compliance
    • Hide

      This issue only needs to be tested in Android.

      1. Login in master site and open MM dev course, section "Resource: File".
      2. Check that you can open files with external apps, e.g. a PDF file.
      3. Try to open the "APK file" (it's currently the last one in the section). Check that it's opened in browser.
      4. Now go to "Resource: Book" section and open "A book with embedded files English". 
      5. Open the "Link to a PDF" chapter.
      6. Click "this is an APK file". Check that an error is displayed. The behaviour is different from step 3 because of technical reasons.
      Show
      This issue only needs to be tested in Android. Login in master site and open MM dev course, section "Resource: File". Check that you can open files with external apps, e.g. a PDF file. Try to open the "APK file" (it's currently the last one in the section). Check that it's opened in browser. Now go to "Resource: Book" section and open "A book with embedded files English".  Open the "Link to a PDF" chapter. Click "this is an APK file". Check that an error is displayed. The behaviour is different from step 3 because of technical reasons.
    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • Moodle App 4.0.2

      This permission is added by 2 plugins: cordova-plugin-intent and cordova-plugin-file-opener2. Google Play now asks devs to justify why do they need this permission, otherwise the app cannot be published.

      We decided to remove this permission. The downside of doing this is that users won't be able to open APK files from our app, if a teacher uploads an APK file somewhere and a user opens it with the app nothing will happen, the file won't be opened/installed.

        1. image-2023-07-06-16-06-44-504.png
          40 kB
          Vishnu CB
        2. screenshot-1.png
          88 kB
          Juan Leyva
        3. Screenshot 2022-10-03 at 08.00.55.png
          111 kB
          pavodev

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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