react-native-store-review
react-native-store-review copied to clipboard
Not working on Android
Hey. Can you help me with this issue, please. Error Message: WARN Possible Unhandled Promise Rejection (id: 0): Error: StoreReview native module not available, did you forget to link the library? requestReview@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.bypantry.bypantry&modulesOnly=false&runModule=true:338393:22 http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.bypantry.bypantry&modulesOnly=false&runModule=true:328346:34 tryCallOne@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.bypantry.bypantry&modulesOnly=false&runModule=true:23437:16 http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.bypantry.bypantry&modulesOnly=false&runModule=true:23518:27 _callTimer@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.bypantry.bypantry&modulesOnly=false&runModule=true:24432:17 _callImmediatesPass@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.bypantry.bypantry&modulesOnly=false&runModule=true:24466:17 callImmediates@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.bypantry.bypantry&modulesOnly=false&runModule=true:24637:33 __callImmediates@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.bypantry.bypantry&modulesOnly=false&runModule=true:4630:35 http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.bypantry.bypantry&modulesOnly=false&runModule=true:4442:34 __guard@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.bypantry.bypantry&modulesOnly=false&runModule=true:4614:15 flushedQueue@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.bypantry.bypantry&modulesOnly=false&runModule=true:4441:21 flushedQueue@[native code] callFunctionReturnFlushedQueue@[native code]
Platform: Android
For iOs worked
i faced same issue here, any solutions @oblador ?
@muhammadrofiq did you find any solution?
Any update on this? Now that Google Play is giving more importance than ever to user reviews and ratings, libraries like this one are more important than ever for React-Native. However, I haven't found any that are updated recently. Any suggestions?
@muhammadrofiq @codefromahmad @Douglasgomes027 Its working for me - RN 0.73.5.
What are your RN versions? I would run .\gradlew clean inside android directory and then try building it again.
Not working here either.
RN version is 0.63.5.
Tried ./gradlew clean but the runtime exception still occurs.
I can reproduce the issue with all the code from the Readme in this snack: https://snack.expo.dev/@tom.a/smiling-green-truffle?platform=android The Readme doesn't contain any mention of requiring Android to link a library.
Expo Snack reproduction: https://snack.expo.dev/@tom.a/smiling-green-truffle?platform=android