caffeinalab / ti.goosh

GCM/FCM module for Titanium.
MIT License
52 stars 34 forks source link

Can't create custom google-play-service #85

Closed DouglasHennrich closed 6 years ago

DouglasHennrich commented 6 years ago

I'm trying to follow the instructions from here: https://github.com/caffeinalab/ti.goosh/tree/master/gps-jars

But I can't create my custom google play services since newer versions of google play doesn't have .jar files, only .aar

Someone can help me or create a stripped new google-play-services+analytics+maps ?

Thanks

max1020 commented 6 years ago

are you using version 3.0.1? did you see this: https://github.com/caffeinalab/ti.goosh/issues/80#issuecomment-331915885

progress44 commented 6 years ago

As @max1020 suggests, you should be able to use the module by using just the necessary .aar files. The ones included in the repository.

m1ga commented 6 years ago

Edit: sorry, my try to remove some libs didn't work. Created a custom ti.map with the same aars but still had duplicates

lawjeremy commented 6 years ago

I am unable to get 3.0.0 working with Ti.GA. Am I still supposed to replace the .jar files in the Ti.GA module?

progress44 commented 6 years ago

Since the use of .aar files, the proguard method doesn't work. As a temporary fix you can use ti.ga by leaving the analytics file file in ti.ga and removing play-services-base jar. Use the latest ti.ga as it should have the most recent google play services version. This is a dirty fix but it works. Same goes for ti.map or other modules. Just remove duplicated libraries such as google play services