react-native-store-review icon indicating copy to clipboard operation
react-native-store-review copied to clipboard

Not working on Android

Open Douglasgomes027 opened this issue 1 year ago • 10 comments
trafficstars

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 Captura de Tela 2023-11-29 às 22 50 36

For iOs worked

Douglasgomes027 avatar Nov 30 '23 01:11 Douglasgomes027

i faced same issue here, any solutions @oblador ?

muhammadrofiq avatar Jan 08 '24 03:01 muhammadrofiq

@muhammadrofiq did you find any solution?

codefromahmad avatar Jan 27 '24 11:01 codefromahmad

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?

gollobo avatar Feb 21 '24 08:02 gollobo

@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.

sabinayakc avatar Mar 05 '24 02:03 sabinayakc

Not working here either.

RN version is 0.63.5.

Tried ./gradlew clean but the runtime exception still occurs.

joevtap avatar Mar 07 '24 19:03 joevtap

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

image

twocs avatar May 14 '24 03:05 twocs