Closed EagleVee closed 2 years ago
Hey @EagleVee !
As I understand, you are trying to put this component inside your RNHoleView-container and this is the problem - you don't need to cut the hole from this bar
So firstly I'd try to move it outside - somehow like this:
<View>
<RNCamera/>
<RNHoleView/>
<View style={position:'absolute', width:100%, height:100%} poinderEvents='boxNone'> <------- here is it
<View style={styles.bar}>
</View>
</View>
<View />
@stephenkopylov okay, I'll try it. Thank you!
@EagleVee you're welcome! Please let us know if it works or not
@stephenkopylov It worked! Thanks again.
I'm using RNHoleVIew as an overlay over my RNCamera component. This code below works perfectly on iOS, but in Android the overlay is rendered only on top of the screen instead of covering all screen as intended.
The result on Android:![Android](https://user-images.githubusercontent.com/35548796/138800313-bc1db419-bab4-41df-8a58-03637b2f9664.jpg)
On iOS:![Simulator Screen Shot - iPhone 8 Plus - 2021-10-26 at 09 39 52](https://user-images.githubusercontent.com/35548796/138800348-f9cf5357-d73b-4898-9cba-7d1bba90c003.png)
I use react-native@0.63.3, react-native-hole-view@2.0.2
Thank you very much!