Open vibss2397 opened 5 years ago
I am currently having this same issue, were you able to figure out a resolution to this issue?
Hey @jas10022 , so i am not sure entirely what is the issue but you can set the background transparency to an extremely small value making it appear transparent (in my case) : backgroundColor: 'rgba(255, 255, 255, 0.15)'
Also the other difference i noticed was i set the gesture recognizer component directly inside the RNCamera one and the view component inside the gesture recognizer one. Like instead of code above you can do :
<RNCamera>
<GestureRecognizer>
<view>...
.......
</view>
</GestureRecognizer>
</RNCamera>
Hope these help :) , again since there has been some time so I'm not sure which will help but these 2 were the major things i changed
Hey, I was making kinda like a snapchat app and used rncamera to show the camera on the whole screen, I tried different configurations but gesture recognizer only works when its background color is set to some color, otherwise it does not.
Also when i try to place gesture recognizer above all the other elements then it only works on a small distance around the text which displays
onSwipe callback recieved gesture
this is the rendered part : `` <View style={{flex: 1, flexDirection: 'row', alignItems: 'stretch',backgroundColor: 'black'}}>
``
Any help on how to make gesture swipe cover the whole screen without background color will be appreciated