Giter Site home page Giter Site logo

Comments (12)

sibelius avatar sibelius commented on July 28, 2024 4

as react-native-push-notification and maybe other packages depends on google play services we need match the google play services in this packages

you can run

./gradlew -q app:dependencies

to discover which packages depends on google play services, and which version they r using

them u can force them to use a specific version

dependencies {
   compile ('com.google.android.gms:play-services-gcm:9.2.0') {
        force = true; 
   } 
}

from react-native-firebase-analytics.

evollu avatar evollu commented on July 28, 2024 3

https://medium.com/@suchydan/how-to-solve-google-play-services-version-collision-in-gradle-dependencies-ef086ae5c75f#.9l0u84y9t

from react-native-firebase-analytics.

dcworldwide avatar dcworldwide commented on July 28, 2024

See bamlab/react-native-image-resizer#15. This project had a similar issue and a fix was suggested. @beeant please confirm if it works for you.

from react-native-firebase-analytics.

sibelius avatar sibelius commented on July 28, 2024

I'm having the same issue using this lib with https://github.com/zo0r/react-native-push-notification

I think both libs depends on google play services is the reason to cause this problem

from react-native-firebase-analytics.

rturk avatar rturk commented on July 28, 2024

I'm having the same issue with RN29. I have no idea how to fix this

from react-native-firebase-analytics.

evollu avatar evollu commented on July 28, 2024

have you tried cleaning the build?

from react-native-firebase-analytics.

evollu avatar evollu commented on July 28, 2024

@sibelius can you specify which file needs that change?
also react-native-push-notification relies on gms 8.+, could that be an issue?

from react-native-firebase-analytics.

sibelius avatar sibelius commented on July 28, 2024

u should change android/app/build.gradle

and react-native-push-notification relies on gms 8.+ but u can force another version as above

from react-native-firebase-analytics.

evollu avatar evollu commented on July 28, 2024

cool @beeant @rturk does this solve your issue?

from react-native-firebase-analytics.

rturk avatar rturk commented on July 28, 2024

@evollu after much work I've managed to make my app work. Thanks.
Looks like latest rnpm link still a little bugged and is not correctly importing packages.

from react-native-firebase-analytics.

evollu avatar evollu commented on July 28, 2024

cool.

from react-native-firebase-analytics.

afilp avatar afilp commented on July 28, 2024

@evollu Hello, I have a similar conflict with "react-native-intercom" but I am not sure what needs to be done there. Should I do something there? Or here?

from react-native-firebase-analytics.

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.