leecade / leecade/react-native-swiper
ViewPagerAndroid has been removed... on 1.6.0-nightly.5
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Which OS ?
Android
Version
Which versions are you using:
- react-native-swiper v1.6.0-nightly.5
- react-native v0.61.4
Expected behaviour
Working Swiper
Actual behaviour
The component is throwing an error:
ViewPagerAndroid has been removed from React Native.
It can now be installed and imported from 'react-native-viewpager' instead of 'react-native'.
See https://github.com/react-native-community/react-native-viewpager'
How to reproduce it
I tried with the example on README, same error.
Steps to reproduce
- Copy the example code from the README
- react-native run-android
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the README example and locate where the swiper references ViewPagerAndroid; the issue's React Native error identifies the removed API and suggests react-native-viewpager. Run the README reproduction on Android, and consider the issue done when it works without the ViewPagerAndroid removal error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100