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

In Expo sdk 39 the stars do not appear

Open georgeMorales opened this issue 5 years ago • 3 comments

In Expo sdk 38 it works perfect but in sdk 39 the rating does not appear, I mean it is but it is not seen. Any solution for this?

georgeMorales avatar Sep 27 '20 18:09 georgeMorales

I have the same issue with expo 39. Also, it has warning: Animated: useNativeDriver was not specified. This is a required option and must be explicitly set to true or false.

Any update for this issue?

lkakada avatar Oct 05 '20 01:10 lkakada

@lkakada The problem I am talking about that the rating is not seen I have solved it in the Star.js file in TouchableOpacity styles.starStyle puts this: tintColor: fill && selectedColor? selectedColor: undefined, and I have changed it for this tintColor: fill && selectedColor? selectedColor: 'lightgrey', The anime warning I don't know how to solve it

georgeMorales avatar Oct 05 '20 11:10 georgeMorales

@lkakada Estava com o mesmo problema, no seu caso componente Start dentro da node_modules vai está assim ( Animated.spring( this.springValue, { toValue: 1, friction: 2, tension: 1, } ).start(); )

dentro desse objeto precisa dessa propriedade useNativeDriver definida com true ou false no meu caso eu atualizei o pacote e ele já adicionou a propriedade. comando que utilizei foi: npm update react-native-ratings

Alankl07 avatar Oct 14 '20 13:10 Alankl07