ti.playservices icon indicating copy to clipboard operation
ti.playservices copied to clipboard

More granular Google Play Services dependencies

Open uerceg opened this issue 5 years ago • 0 comments

Hey guys.

First I would like to thank you for making this module, was quite anticipated by some of us, since now it frees us from having Google Play Services JAR as direct dependency in modules we write. Never the less, wanted to check this with you. When using your module, I see that following things are being added to the app in dexer phase:

build/android/intermediates/exploded-aar/play-services-ads-lite-11.0.4/classes.jar" 
build/android/intermediates/exploded-aar/play-services-analytics-impl-11.0.4/classes.jar" 
build/android/intermediates/exploded-aar/play-services-appinvite-11.0.4/classes.jar" 
build/android/intermediates/exploded-aar/play-services-auth-11.0.4/classes.jar" 
build/android/intermediates/exploded-aar/play-services-auth-base-11.0.4/classes.jar" 
build/android/intermediates/exploded-aar/play-services-awareness-11.0.4/classes.jar" 
build/android/intermediates/exploded-aar/play-services-base-11.0.4/classes.jar" 
build/android/intermediates/exploded-aar/play-services-basement-11.0.4/classes.jar" 
build/android/intermediates/exploded-aar/play-services-cast-11.0.4/classes.jar" 
build/android/intermediates/exploded-aar/play-services-cast-framework-11.0.4/classes.jar" 
build/android/intermediates/exploded-aar/play-services-gcm-11.0.4/classes.jar" 
build/android/intermediates/exploded-aar/play-services-identity-11.0.4/classes.jar" 
build/android/intermediates/exploded-aar/play-services-iid-11.0.4/classes.jar" 
build/android/intermediates/exploded-aar/play-services-location-11.0.4/classes.jar" 
build/android/intermediates/exploded-aar/play-services-maps-11.0.4/classes.jar" 
build/android/intermediates/exploded-aar/play-services-nearby-11.0.4/classes.jar" 
build/android/intermediates/exploded-aar/play-services-tasks-11.0.4/classes.jar" 
build/android/intermediates/exploded-aar/play-services-wallet-11.0.4/classes.jar"

I might be only interested in adding -basement module to my plugin and the rest is of no interest to me. By advising client to add your current module, method count will get quite increased and might breach 65K limit for some. With that in mind:

I was wondering if there are any plans to build support for adding separate modules as dependencies?

So something which can be added to user's tiapp.xml like this:

<module platform="android">ti.playservices.basement</module>

?

Thanks in advance for your reply.

Cheers

uerceg avatar Jul 16 '18 12:07 uerceg