Crash on Swiper onMomentumScrollEnd()
TypeError: undefined is not an object (evaluating 'this.props.pageArray[state.index].backgroundColor')
React native 0.38 react-native-app-intro 1.1.5 Platform android 7.0 Huawei
I found this error in my Sentry Error list.
The problem is on this line:
https://github.com/FuYaoDe/react-native-app-intro/blob/f9511c1672bd426b243d2a2b3cc8adab6ae5bbe0/AppIntro.js#L348
I think for some reasons the state in swiper is null. I have also noticed that the swiper fork is behind master by many commits, so I am not sure if this is actually a small bug that has been fixed already in the swiper master branch.
For example, just reading the commit I can see possible problems with the scroller and state: https://github.com/leecade/react-native-swiper/commit/d4065d7ba9c670107ab9b2a248facfb4f78b4430
+1 I have the same problem too
+1 I have the same problem too