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

Remove REQUEST_INSTALL_PACKAGES permission from APK file

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0.1
    • 4.0.2
    • Android
    • 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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                25/Oct/22