From 7e8cce3d2ddffbe36bcb3c9ec2f006f7e1b42a79 Mon Sep 17 00:00:00 2001 From: maaxg Date: Wed, 16 Feb 2022 04:43:18 -0800 Subject: [PATCH] @react-native-community/viewpager is no longer supported (#33095) Summary: This pull request makes a simple change in the link of the lib [react-native-community/viewpager](https://www.npmjs.com/package/react-native-community/viewpager) that is no longer supported, the recommendation it's to use [react-native-pager-view](https://github.com/callstack/react-native-pager-view) instead. ## Changelog [Android] [Changed] - ViewPagerAndroid recommendation link. Pull Request resolved: https://github.com/facebook/react-native/pull/33095 Reviewed By: cortinico Differential Revision: D34216746 Pulled By: ShikaSD fbshipit-source-id: c813d11557d0abc08ef4350538e2f211417f025b --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index bf4b98478eee95..53aaee3edd21c9 100644 --- a/index.js +++ b/index.js @@ -647,8 +647,8 @@ if (__DEV__) { invariant( false, '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', + "It can now be installed and imported from 'react-native-pager-view' instead of 'react-native'. " + + 'See https://github.com/callstack/react-native-pager-view', ); }, });