Closed w3company-leo closed 10 months ago
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.
any updates??
i'm having the same issue in RN 0.72.3 with 4.3.3.
@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;
It builds, but not sure if it works in production mode.
@dsipahioglu
Oh! It works in production mode!! Thank you for sharing the solution!!
@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
@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?
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…]()
react-native : 0.70.8