Compatibility

A newer version of this documentation is available. Switch to the latest version docs.

Each version of the Contentsquare bridge will be linked to specific, fixed versions of each native SDK. In order to make that clear, here is a compatibility table to consider when choosing your version of the bridge (refer to the React Native Bridge Changelog) to know what the changes are for each version.

Bridge VersioniOS SDK VersionAndroid SDK VersionMin React Native VersionMax React Native Version
3.1.04.18.04.15.00.59.00.70.x
3.0.04.17.04.14.00.59.00.70.x

Known limitations and recommendations

Section titled Known limitations and recommendations

If you are using PanResponders in your app, a bug might appear on the element implementing it where it will only move for about a second and then freeze. This bug is caused by a conflict between the React Native SDK and our Bridge related to tracking swipe events. May you encounter this bug, the current workaround is to stop the Contentsquare tracking when the pan gesture starts, and resume it as the gesture ends, as follows:

const panResponder = useRef(
PanResponder.create({
[...]
onPanResponderGrant: (evt, gestureState) => {
Contentsquare.stopTracking();
[...]
},
onPanResponderRelease: (evt, gestureState) => {
Contentsquare.resumeTracking();
[...]
},
[...]
})
).current;

Note that, although this workaround fixes the bug, applying it means that swipes on view using the PanResponder won’t be tracked by Contentsquare.