GetStream / react-native-activity-feed

Official React Native SDK for Activity Feeds
https://getstream.io/
196 stars 85 forks source link

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

Open varunlakhan opened 1 year ago

varunlakhan commented 1 year ago

Setup (always fill this in):

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 commented 7 months ago

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