Are you seeing this error when trying to use this awesome package in your expo SDK 43 based project?
TypeError: Cannot read properties of undefined (reading 'remove')
This error is located at:
in Swiper (created by ...)
...
This is because dimensionsChangeSubscription relies on React Native's Dimensions.addEventListener API. However, the SDK 43 release of expo depends on react-native v0.62.2, and the Dimentions API differs between versions < and >= RN v0.65.
Are you seeing this error when trying to use this awesome package in your
expo SDK 43
based project?This is because
dimensionsChangeSubscription
relies on React Native'sDimensions.addEventListener
API. However, the SDK 43 release ofexpo
depends onreact-native
v0.62.2, and theDimentions
API differs between versions < and >= RN v0.65.