There is red box around the LinearGradient component andI am seeing only on the 4s (9.3). I am using like below. What are the possible reasons?
. <LinearGradient
colors={...}
style={styles.gradient}
>
<View style={styles.container}>
....
</View>
</LinearGradient>
React Native: 0.42
React native linear gradient: 2.0.0
Did you rebuilt the Xcode project, after you added linear-gradient? I had the same issue, I solved it just running react-native run-iosso it rebuilt the project.
Had the same problem on iPad Air 2 Simulator, thanks @ulentini
I am facing the same problem on Android.
I've already rebuilt the project but didn't solve the problem.
link error
Most helpful comment
Did you rebuilt the Xcode project, after you added linear-gradient? I had the same issue, I solved it just running
react-native run-iosso it rebuilt the project.