react-native-ratings icon indicating copy to clipboard operation
react-native-ratings copied to clipboard

Stars Not Being Rendered When Offline

Open Agent57 opened this issue 4 years ago • 7 comments

I'm developing an app that has to cope with very poor network connectivity. I've noticed that if there is no internet connection, the stars are not rendered correctly.

I was able to reproduce this using the v8.1.0 demo application from the repo, built with expo 42.0.1 on Mac OS.

image

Any advice on how to fix this would be very much appreciated, thank you.

Agent57 avatar Nov 21 '21 12:11 Agent57

I got same issue when update via codepush

chhornponleu avatar Nov 28 '21 14:11 chhornponleu

Same with a normal internet connection on iOS simu ... 😢

adrienfloor avatar Dec 24 '21 14:12 adrienfloor

I'm having this same issue on a normal internet connection with the latest version. iOS works fine, but on Android the rating is just a block in Callouts

Devoagency avatar Jan 13 '22 04:01 Devoagency

I'm having this issue with normal connection too. In android it works fine, but in iOS > 13 that odd block is being displayed instead.

Could this be related with iOS images problem? I've quickly solved that replacing Image components with FastImage, but I'm affraid that weird workaround cannot be used here bc StarRating only needs the image url.

nachoSource avatar Feb 14 '22 18:02 nachoSource

Anyone figure out a workaround for this issue? I have this bug on android. I'm not sure if its relevant but since codepush was mentioned I'm using expo-updates.

riordanpawley avatar Feb 18 '22 05:02 riordanpawley

same issue on Android, stars are not rendered also. Any solution?

Anael-dev avatar Feb 23 '22 10:02 Anael-dev

I could not find a workaround to keep using this component, but I ended up using this one which is very very similar, only differing in that you have to tap the stars instead of swaping. I hope this can be useful for you

nachoSource avatar Feb 24 '22 14:02 nachoSource