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

Library Dependencies Conflict With Every Other Plugin Requiring The Same

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • push
    • None
    • Hide

      cordova plugin add aerogear-cordova-push
      cordova plugin add (any other plugin requiring com.google.android.gms or com.android.support)
      cordova platform add android [(optional:) -- --minSdkVersion=16]
      cordova prepare android [(optional:) -- --minSdkVersion=16]
      cordova build android [(optional:) -- --minSdkVersion=16]

      Show
      cordova plugin add aerogear-cordova-push cordova plugin add (any other plugin requiring com.google.android.gms or com.android.support) cordova platform add android [(optional:) -- --minSdkVersion=16] cordova prepare android [(optional:) -- --minSdkVersion=16] cordova build android [(optional:) -- --minSdkVersion=16]

    Description

      To surpass one issue, " – --minSdkVersion=xx" required on every command line build.

      The primary issue, any other plugin requiring com.android.support or com.google.android.gms causes builds to fail from an "UNEXPECTED TOP-LEVEL EXCEPTION" error from this plugin's outdated dependency declarations, else use of specific older versions of these libraries. Even enabling duplicate libraries does not resolve this issue.

      Switching to "com.google.android.gms:play-services-gcm:+" (or similar for subset) would permit this plugin to be used in conjunction with anything else built within the last year or so.

      Attachments

        Activity

          People

            edewit1@redhat.com Erik Jan de Wit
            greg.arnott Greg Arnott (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: