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

Specify Android's targetSdkVersion in config.xml

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2.1
    • 3.3.0
    • Android
    • Hide
      1. In your local environment, run the following commands:

        cordova platform remove android
        cordova platform add android
        

        Check that no error is thrown.

      2. Open the file platforms/android/AndroidManifest.xml and check that it has the following line:
        <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="19" />
      Show
      In your local environment, run the following commands: cordova platform remove android cordova platform add android Check that no error is thrown. Open the file platforms/android/AndroidManifest.xml  and check that it has the following line: <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="19" />
    • MOODLE_32_STABLE
    • MOODLE_33_STABLE
    • Moodle Mobile 3.3.0

    Description

      Right now we don't specify the targetSdkVersion for Android apps. In API 24 or higher the app won't be able to open external files, so we should specify a lesser API version.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              26/May/17