react-native-activity-feed
react-native-activity-feed copied to clipboard
Unable to use react-native-activity-feed with React native 0.71+
Setup (always fill this in):
- iOS or Android? - Android
- Expo or regular React Native? regular React Native
- React Native Version: 0.71.3
react-native-activity-feedorexpo-activity-feedversion:npm list --pattern <package-name>/yarn list --pattern <package-name>1.1.1getstreamversion:npm list --pattern getstream/yarn list --pattern getstream7.2.11
Describe the bug
I am trying to upgrade the version of my react native application from 0.55 to 0.71.3.
However while running the gradle build command - gradlew clean build I keep getting the below error:
Error: Unable to resolve module AccessibilityInfo from my-app-folder\node_modules\react-native-activity-feed\node_modules\react-native\Libraries\react-native\react-native-implementation.js: AccessibilityInfo could not be found within the project or in these directories:
node_modules\react-native-activity-feed\node_modules
node_modules
..\node_modules
When I looked inside the react-native-activity-feed folder inside my node_modules folder I see that there is node_modules folder for react-native-activity-feed itself and it has react-native version 0.55.4
I am a bit confused why are you exporting the node_modules folder?
My guess is during build time it's using this old version of react native instead of my latest version.
To Reproduce Steps to reproduce the behavior:
- Go to
app-folder/android - Run command
gradlew clean build - See the error
Expected behavior
I expect react-native-activity-feed to work fine with react version 0.71.3 and the build to complete successfully.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
I think this library is not supported anymore which is very sad :/