Open android0code opened 7 months ago
I have used the scratch card in react-native modal The first time it worked fine, but when I opened 2nd time it displayed already scratch card. For iOS also works fine, the only issue for android my code:
const styles = StyleSheet.create({ container: { alignItems: "center", justifyContent: "center", borderRadius: 16, }, background_view: { position: "absolute", width: Platform.isPad ? hp(35) : hp(30), height: Platform.isPad ? hp(35) : hp(30), backgroundColor: "transparent", alignSelf: "center", borderRadius: 16, }, scratch_card: { width: Platform.isPad ? hp(35) : hp(30), height: Platform.isPad ? hp(35) : hp(30), backgroundColor: "transparent", }, });
@android0code Thank you for mentioning. Please update to 1.2.2. It should be fixed.
I have used the scratch card in react-native modal The first time it worked fine, but when I opened 2nd time it displayed already scratch card. For iOS also works fine, the only issue for android my code:
const styles = StyleSheet.create({
container: { alignItems: "center", justifyContent: "center", borderRadius: 16, }, background_view: { position: "absolute", width: Platform.isPad ? hp(35) : hp(30), height: Platform.isPad ? hp(35) : hp(30), backgroundColor: "transparent", alignSelf: "center", borderRadius: 16, }, scratch_card: { width: Platform.isPad ? hp(35) : hp(30), height: Platform.isPad ? hp(35) : hp(30), backgroundColor: "transparent", }, });