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

Unable to use react-native-activity-feed with React native 0.71+ #325

Open
varunlakhan opened this issue Apr 13, 2023 · 1 comment
Open

Comments

@varunlakhan
Copy link

varunlakhan commented Apr 13, 2023

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-feed or expo-activity-feed version: npm list --pattern <package-name>/yarn list --pattern <package-name> 1.1.1
  • getstream version: npm list --pattern getstream/yarn list --pattern getstream 7.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:

  1. Go to app-folder/android
  2. Run command gradlew clean build
  3. 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.

@bmitioglov
Copy link

I think this library is not supported anymore which is very sad :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants