Comments (7)
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](https://private-user-images.githubusercontent.com/32214865/265703226-7dbb6738-ddcd-4316-8f00-b16adc8258d7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxMzM0NTMsIm5iZiI6MTcyMjEzMzE1MywicGF0aCI6Ii8zMjIxNDg2NS8yNjU3MDMyMjYtN2RiYjY3MzgtZGRjZC00MzE2LThmMDAtYjE2YWRjODI1OGQ3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI4VDAyMTkxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZkNzlmMjYzMzc2NDg0MDE0NjkyY2U5MGM2MWRhOWFiY2JkNzRmY2NjMDljMTRjNTU2YzA0NTFlZDU5YWE4YjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5wDC1yTtvBv6-CK20Sz743t7xQL5bJkAyOtZ5Ti_Kik)
It builds, but not sure if it works in production mode.
from react-native-in-app-review.
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.
Oh! It works in production mode!!
Thank you for sharing the solution!!
from react-native-in-app-review.
any updates??
i'm having the same issue in RN 0.72.3 with 4.3.3.
from react-native-in-app-review.
@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, @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.
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.
from react-native-in-app-review.
Related Issues (20)
- Gradle sync fails on 4.3.2 HOT 3
- how do we unable button sent rate app
- Why the "Submit" button is disabled in iOS? HOT 5
- Can you see how many stars were given in the following then block? HOT 2
- Problem: InAppReviewModule.show cannot be invoked on Android
- Android working intermittently HOT 1
- I submitted the rating and review from in app review popup. After that I removed the review from google play store. After that the popup is not opening in the mobile again asking for review. Is there any way to check and review it again HOT 3
- Not Supported [Error: Failed to bind to the service.] HOT 1
- [React Native] [Android] - No activity found to handle intent act=com.huawei.appmarket.intent.action.guidecomment pkg=com.huawei.appmarket HOT 2
- does this lib need price to use? HOT 2
- [Error: com.google.android.finsky.inappreviewservice.InAppReviewService : Binder has died.]
- Duplicate class com.google.android.play.core.common.IntentSenderForResultStarter found in modules jetified-core-1.9.1-runtime (com.google.android.play:core:1.9.1) and jetified-core-common-2.0.2-runtime HOT 5
- Prompt not showing, prompt conversion rate
- :react-native-in-app-review:compileDebugJavaWithJavac HOT 1
- React Native 0.74 (Bridgeless) Support
- The submit button is disabled in ios and android HOT 3
- SKStoreReviewController for ios deprecated.
- Update Play Core Library for Android 14 Compatibility HOT 15
- #Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported. in andorid
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-in-app-review.