Code Monkey home page Code Monkey logo

Comments (7)

dsipahioglu avatar dsipahioglu commented on August 27, 2024 10

@w3company-leo

I think I found a workaround.
In node_modules > react-native-in-app-review > android > build.gradle

I changed the dependencies to:

dependencies {
    implementation "com.facebook.react:react-native:+"  // From node_modules
    // implementation "com.google.android.play:review:${safeExtGet('playReviewVersion')}" REMOVED THIS
    implementation "com.google.android.play:core:1.8.0" // ADDED THIS
    implementation "com.google.android.gms:play-services-base:${safeExtGet('playServicesVersion')}"
}

In android > src > main > java > com > ..... > AppReviewModule.java
I changed the gms Tasks import to this one:

import com.google.android.play.core.tasks.Task;

image

It builds, but not sure if it works in production mode.

from react-native-in-app-review.

dsipahioglu avatar dsipahioglu commented on August 27, 2024 1

Having the same issue in RN 0.72.3 with "react-native-in-app-review": "^4.3.3".

Tried listing dependencies with "./gradlew app:dependencies" and searched for "play:core" within the results find the clashing dependencies but I don't know what I should do next.

from react-native-in-app-review.

w3company-leo avatar w3company-leo commented on August 27, 2024 1

@dsipahioglu

Oh! It works in production mode!!
Thank you for sharing the solution!!

from react-native-in-app-review.

olcaneristi avatar olcaneristi commented on August 27, 2024

any updates??

i'm having the same issue in RN 0.72.3 with 4.3.3.

from react-native-in-app-review.

kolindalanaresh avatar kolindalanaresh commented on August 27, 2024

@dsipahioglu, @w3company-leo still i am facing the same issue with react native version 0.64.2 and react-native-in-app-review 4.3.1 version. Can you please suggest on this

from react-native-in-app-review.

dsipahioglu avatar dsipahioglu commented on August 27, 2024

@dsipahioglu, @w3company-leo still i am facing the same issue with react native version 0.64.2 and react-native-in-app-review 4.3.1 version. Can you please suggest on this

Is your error exactly the same or something different? You might have different packages that have clashing dependencies. Can you provide the error log?

from react-native-in-app-review.

askmakdag avatar askmakdag commented on August 27, 2024

I was facing the same issue in RN 0.72.6 with 4.3.3.

Making sure the JDK is set to Azul zulu version 11.0.19 solved my problem.

Uploading Screenshot 2024-01-15 at 16.49.02.png…

from react-native-in-app-review.

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.