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

TypeError: undefined is not an object (evaluating 'activities.getIn(path).toJS') #281

Open
animmore opened this issue Apr 13, 2022 · 1 comment

Comments

@animmore
Copy link

animmore commented Apr 13, 2022

  • iOS or Android?
    Both
  • Expo or regular React Native?
    Native
  • React Native Version:
  • react-native-activity-feed or expo-activity-feed version:
    react-native-activity-feed 1.1.1
  • getstream version:
    7.2.1
    Describe the bug

When press repost an activity everything is ok, but if you press it other times then my app gives this error and my Feed does not update. It is my function that toggle a repost reaction of activity:

                post.onToggleReaction(
                  'repost',
                  {id: post.activity.id},
                  {},
                  {targetFeeds: [`timeline:${uid}`, `notification:${post.activity.user.uid}`]}

Also I added a video, please check it

Expected behavior

Simulator.Screen.Recording.-.iPhone.13.Pro.Max.-.2022-04-13.at.17.30.30.mp4

Methods which use line "activities.getIn(path).toJS()" must work correctly.

Screenshots
image

@tbarbugli
@JelteF

@tlester
Copy link

tlester commented Nov 12, 2022

Did you figure this out? I just encouraged it myself.

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