React-native-swiper: ViewPagerAndroid has been removed from react-native

Created on 23 Feb 2020  路  7Comments  路  Source: leecade/react-native-swiper

Which OS ?

Andoid

Version

Which versions are you using:
1.5.14

  • react-native-swiper v?
  • react-native v0.?.?

Expected behaviour

Should render component correctly

Actual behaviour

throwing error

How to reproduce it>

To help us, please fork this component, modify one example in examples folder to reproduce your issue and include link here.
-

Steps to reproduce

1.Just need to import ViewPager from @react-native-community/ViewPager instead ofViewPagerAndroid

Most helpful comment

as described in the documentation update the package to version 1.6

All 7 comments

as described in the documentation update the package to version 1.6

@leecade When are you going to publish an official 1.6.0 stable version and not a nightly and unstable version?

This command line can resolve the issue definitely

yarn add react-native-swiper@next

This command line can resolve the issue definitely

yarn add react-native-swiper@next

I tried that and it installed [email protected] and I'm still seeing this error.

waiting for stable release

In my case, I just had to upgrade library "react-native-scrollable-tab-view" from "0.10.0" to "1.0.0" and it solved the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kylehagler picture kylehagler  路  3Comments

commit-master picture commit-master  路  3Comments

JonasOmdal picture JonasOmdal  路  3Comments

chetanparakh picture chetanparakh  路  3Comments

gwhite-dayspring picture gwhite-dayspring  路  3Comments