leecade / leecade/react-native-swiper

ViewPagerAndroid has been removed... on 1.6.0-nightly.5

Open
#1,108 23 comments 16 reactions 0 assignees View on GitHub

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
  1. Copy the example code from the README
  2. react-native run-android

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.