Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invariant Violation: ViewPagerAndroid has been removed from React Native. It can now be installed and imported from '@react-native-community/viewpager' instead of 'react-native'. See https://github.com/callstack/react-native-viewpager #1340

Closed
shubhext opened this issue Apr 27, 2024 · 1 comment

Comments

@shubhext
Copy link

shubhext commented Apr 27, 2024

Getting the issue in only Android and in ios it is working

Invariant Violation: ViewPagerAndroid has been removed from React Native. It can now be installed and imported from '@react-native-community/viewpager' instead of 'react-native'. See https://github.com/callstack/react-native-viewpager

This error is located at:
in NavigationContainer (at App.tsx:210)
in App (at renderApplication.js:47)
in RCTView (at View.js:34)
in View (at AppContainer.js:107)
in RCTView (at View.js:34)
in View (at AppContainer.js:134)
in AppContainer (at renderApplication.js:40)

"react-navigation": "Snailapp/react-navigation#2.18.7",
"react-native": "0.64.4",
"react-native-gesture-handler": "1.10.3",
"react-native-reanimated": "1.13.1",

Screenshot 2024-04-27 at 1 41 38 PM Screenshot 2024-04-27 at 1 42 36 PM
@satya164
Copy link
Member

  1. This repo is for documentation. Don't open bug reports here.
  2. You're using an outdated version of react navigation which is no longer supported. Please migrate to the latest version https://reactnavigation.org/

@satya164 satya164 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 27, 2024
@react-navigation react-navigation locked as off-topic and limited conversation to collaborators Apr 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants