Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-26131

Android: SDK is wrongly adding core "Google Play Services" libraries as of 7.1.0

    Details

    • Story Points:
      3

      Description

      Summary:
      As of Titanium 7.1.0, the SDK is wrongly including the following JAR files to all Android app builds...

      • play-services-base-11.0.4.jar
      • play-services-basement-11.0.4.jar
      • play-services-location-11.0.4.jar
      • play-services-tasks-11.0.4.jar

      On a Mac, you can verify that the above libraries are wrongly being included by going to the following directory in Finder...
      ~/Library/Application Support/Titanium/mobilesdk/osx/7.x.x/android

      These 4 libraries are not supposed to be there and it's preventing us from updating the "ti.playservices" module's Google Play Services libraries to a newer version (will cause a version conflict).

      Note:
      Titanum's core "geolocation" code needs a reference to the above mentioned JAR files to compile, but it doesn't require the JAR files to be included. This is because our "geolocation" code will dynamically detect the existence of the Google Play Services classes via reflection... and if they don't exist, it'll fallback to using the OS' location APIs instead. So, we need to exclude the Google Play Services JARs when packaging the SDK.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                jquick Joshua Quick
                Reviewer:
                Joshua Quick
                Tester:
                Samir Mohammed
              • Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-6401
                    Sync status:
                    ERROR
                    Last sent:

                    Git Source Code