react-native-viewpager icon indicating copy to clipboard operation
react-native-viewpager copied to clipboard

After updating react-native to 0.61.0 , this library is not working.

Open PrantikMondal opened this issue 6 years ago • 2 comments

TypeError : Undefined is not an object (evaluating 'this.props.dataSource.getPageCount')

PrantikMondal avatar Sep 25 '19 08:09 PrantikMondal

I have a similar problem Screenshot_1572942605

cnrsbtogll avatar Nov 05 '19 08:11 cnrsbtogll

Hi there, it actually works if you point package.json to this fork:

"react-native-viewpager": "github:zhaoqigang/react-native-viewpager#931541929e4c24e78a66372d838577fbd09383e6"

I just discovered this while upgrading to RN 61.

However viewpager has grown up a lot and there is one now maintained by the react native community so I'm migrating to that right now.

https://github.com/react-native-community/react-native-viewpager

nabilfreeman avatar Apr 08 '20 15:04 nabilfreeman