You may be seeing an issue with the swipes, upon implementing UXCam on React Native. The reasoning for the issue is because, react-native touch handling is treating other gesture recognizers as though they are in competition. Hence, it wont let the UXCam observing Gesture Recognizer run while there are active React-native Gesture Recognizers.
To work around it:
Find the react-native source file: RCTTouchHandler.m
In the last method in that file edit it to be 'return NO'
so the method becomes:
- (BOOL)gestureRecognizer:(__unused UIGestureRecognizer *)gestureRecognizer shouldRequireFailureOfGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
// Same condition for
failure ofas for
be prevented by.
//return [self canBePreventedByGestureRecognizer:otherGestureRecognizer];
This stops the react-native touch handler from deciding that it will reject gesture recognizers for it's own views when some other part of the code is also using a UIGestureRecognizer (as UXCam is doing in this case).
It is recommended to use patch-package or similar libraries to avoid making code changes each time after you install node modules.
This should resolve the issue that you are seeing. Please reach out to customer success team at firstname.lastname@example.org if you need any additional help.