react-native-activity-feed icon indicating copy to clipboard operation
react-native-activity-feed copied to clipboard

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

Open varunlakhan opened this issue 1 year ago • 1 comments

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.

varunlakhan avatar Apr 13 '23 00:04 varunlakhan

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

bmitioglov avatar Feb 05 '24 07:02 bmitioglov