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

Push plugin overrides "android-minSdkVersion" config property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • push
    • None
    • 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 ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            chawax_jira Olivier Thierry (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: