Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-4718

Push plugin overrides "android-minSdkVersion" config property

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: push
    • Labels:
      None
    • Environment:

      Android

      Description

      I need my Cordova application to run on Android API 21 and more, so I set the "android-minSdkVersion" in config.xml file :

      <preference name="android-minSdkVersion" value="21"/>

      But it didn't work, I could install my APK on a Android 4.4 device for example. I finally found it is because of the Aerogear Push plugin overrides this value in the Android manifest file in the APK with "16", a value set in "/src/android/dependencies.gradle" file of the plugin. I changed the value to "21" and it solved my problem.

      Is there a way to change the plugin so that it doesn't set the value to "16" if a min SDK version is set in config.xml file ?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                chawax Olivier Thierry
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: