Code Monkey home page Code Monkey logo

Comments (6)

m1ga avatar m1ga commented on June 22, 2024

do you include other modules? It is a problem with the google services (jars inside the lib folder)

from gcmpush.

mattlanham avatar mattlanham commented on June 22, 2024

I have just tested a brand new, clean default alloy project with 5.0.2.GA SDK and it doesn't work, so I assume this must be an issue with this module, or it's compatibility with the new SDK?

from gcmpush.

morinel avatar morinel commented on June 22, 2024

Which Android version are you targeting? Please post the relevant parts of your tiapp.xml.

from gcmpush.

mattlanham avatar mattlanham commented on June 22, 2024

Turns out it was to do with the inclusion of google play services within this module, how would you get around this, seems a little crazy for it to clash on this? https://github.com/Sitata/titanium-google-analytics

from gcmpush.

m1ga avatar m1ga commented on June 22, 2024

There are multiple bugs in jira about including multiple modules that bring their own version of the play-services (it gets tricky when you use maps and a different version). But you can use a stripped version of the play services, that only include the stuff you need. That mimizes the collisions.

E.g. Ti.GA has a pull request with a stripped version (benbahrenburg/Ti.GA#6). It smaller too.

I guess you could use something like https://gist.github.com/dextorer/a32cad7819b7f272239b to just use the gcm stuff inside the services

from gcmpush.

morinel avatar morinel commented on June 22, 2024

Yes, please open a ticket for the other module to strip their version of the shipped Google Play Services jar. I've limited the version used in gcmpush already.

OTOH, it would be nice if there was a workaround for this provided by Appcelerator

from gcmpush.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.