Questions tagged [getstream-io]

Hosted News feeds API that allows you to build scalable news feeds and activity streams

703 questions
2
votes
2 answers

GetStream : User has no enabled devices associated on Firebase push notification for flutter android

I tried to test the firebase push notification with the stream-cli for my android device On flutter mobile, i have connected my user and add the firebase messaging token to the StreamChatClient. await client.connectUser( User( …
2
votes
2 answers

Is it possible to filter over nested objects on stream-chat?

stream-chat v6.7.3 When I connect a user besides id, name, and image, I'm adding my own properties as an object, like this: await client.connectUser({ id: 'jose', name: 'pepe', …
Jose
  • 116
  • 1
  • 12
2
votes
0 answers

GetStream ChannelListState is always Loading

I am developing an Android App which contains chatting. I am able to connect User and create channel but some how I could not display the channel list. I am using the code block which is in documentation val viewModel: ChannelListViewModel by…
2
votes
1 answer

'streamChatState != null': You must have a StreamChat widget at the top of your widget tree

I am new to flutter and im trying to run a chat app with getstream chat api and firebase. I keep running into an error every time i try to sign in or sign up Screenshot this is main.dart this is my sign_in_screen.dart class SignInScreen extends…
bee
  • 23
  • 2
2
votes
2 answers

GetStream.io API key rotation

Is there a way to change/rotate the API key for a GetStream.io app? If so, can there be multiple API keys active in parallel, or will all clients need to immediately get a new JWT upon key rotation?
Ian Robertson
  • 1,312
  • 1
  • 13
  • 14
2
votes
0 answers

Response is not a valid JSON object using StreamChat in cloud functions

Below is the error I get. I watched a tutorial and the developer had the exact same code and it worked on his end, I don't know what I'm doing wrong. I am using the getstream.io platform through the stream_chat_flutter_core package. Response is not…
2
votes
1 answer

How to mock a third-party struct with many methods and perform unit tests on endpoints that depend on the third-party struct?

I'm working with getstream's Go library in gin gonic and realized that my endpoints will be heavily dependent on stream_chat.Client. For instance, in the following endpoint (/v1/chat/test-token), a stream_chat.Client must be created so testing this…
Nahua Kang
  • 366
  • 1
  • 7
  • 19
2
votes
1 answer

GetStream - Flutter - Connection already available for user

Error facing in Flutter GetStream SDK.. GetStream is chatting SDK in which I am using messaging feature. I am facing issue with creating connection with the user. Even if I change name of the user to anything, I still get the same error. While the…
Sayed Muhammad Idrees
  • 1,245
  • 15
  • 25
2
votes
0 answers

query friends who are online with getstream.io

What is the best way to retrieve a user's online friends when each user has around 100 friends on average? According to the document, I can query x number of users with their ids. If I can query 100 users at a time, I should do this. I wasn't able…
Dokook Choe
  • 266
  • 2
  • 9
2
votes
1 answer

Are stream hierarchies possible in Getstreams.io?

We're building an application in which user can upload lists of pages, can leave notes on those pages, and people can discuss these notes. A user may choose to get notified for all replies on all notes on a page, which could all be separate activity…
2
votes
1 answer

Getstream.io throws exception when using the "to" field

I have two flat Feed Groups, main, the primary news feed, and main_topics. I can make a post to either one successfully. But when I try to 'cc' the other using the to field, like, to: ["main_topics:donuts"] I get: code: 17 detail: "You do not have…
Mosesoak
  • 181
  • 1
  • 7
2
votes
1 answer

How to automatically refresh feed when user makes a new post in React Native

We have a simple screen based on the React Native tutorial with the following FlatFeed and StatusUpdateForm inside a StreamApp We want to automatically refresh the…
Shahar Nechmad
  • 119
  • 1
  • 1
  • 6
2
votes
1 answer

Stream.io: How to get a users unread messages count from the server

Is there any way to query a users total unread messages count across all channels from the server? I can see it is possible to do this from the client using setUser but this is not appropriate for usage in a server side scenario. I am using nodejs,…
TreeMan360
  • 589
  • 1
  • 5
  • 16
2
votes
3 answers

Integrate getstream activity feed in flutter

So I am trying to integrate activity feed feature from get stream into flutter. But I am not able to get the docs for that. My question is, is it possible to integrate feed feature to flutter app ? There are various tutorials for integrating chat…
Shrijan Regmi
  • 450
  • 5
  • 10
2
votes
1 answer

getstream notification subscription doesn't push aggreagated info with counts

I am using getstream nodejs package. I've got an aggregated notifications feed and it properly fetches aggregated activities with feed.get() The problem is that when subscribing via feed.subscribe() I only get the activity, not the agreaggated info…