Comments (19)
I'm going to try something and see if that works.
from stream-feed-flutter.
Im getting this when both are added:
flutter: (2022-02-25 11:02:42.189426) âšī¸ đ Client null attempting to subscribe to [/site-92418-feed-timeline_storiesi1OPQTtBcSR5Moe3k6BiRS0QoV52_personal]()
from stream-feed-flutter.
There is a bug somewhere in our Faye implementation I'll investigate and let you know when we have a fix for you to try out
from stream-feed-flutter.
Hmm weird, did you change anything in your dashboard?
from stream-feed-flutter.
@sachaarbonel nope nothing was changed.
from stream-feed-flutter.
I see in the debug console when the realtime is started but after that I don't get any updates.
from stream-feed-flutter.
@sachaarbonel any update on what to do on this?
from stream-feed-flutter.
Sorry @rlee1990, I can't replicate this with my API key, can I impersonate you? I'll delete the activity id right away
from stream-feed-flutter.
@sachaarbonel Yes please do. What ever it takes to figure this out.
from stream-feed-flutter.
Running this integration test with your credentials works for me
faye_client_test.dart.
Flutter wise, did you have any change in your codebase recently, in the way you manage your state? Maybe you have an unnecessary rebuild somewhere
from stream-feed-flutter.
I still just use riverpod for state management
from stream-feed-flutter.
I am checking everything. I haven't made any changes to any code for Stream Feeds at all.
from stream-feed-flutter.
I found the issue.
When I removed this subscription:
subStories = await SNAB.streamFeedClient
.aggregatedFeed('timeline_stories')
.subscribe((message) {
print('New message: $message');
});
Then this one works:
final feed = SNAB.streamFeedClient.flatFeed(
'timeline', '${widget.user.uid}_${widget.user.currentAccount}');
sub = await feed.subscribe((message) {
print('Message: $message');
setState(() {
for (var element in message!.newActivities!) {
if (posts.contains(element)) {
final oldPost = posts.firstWhere((post) => post.id == element.id);
posts.remove(oldPost);
posts.add(element);
} else {
posts.insert(0, element);
}
}
});
});
Are we only to have one realtime stream or am I doing something wrong?
@sachaarbonel
from stream-feed-flutter.
I even tried this:
final timeline = SNAB.streamFeedClient.aggregatedFeed(
'timeline_stories', '${widget.user.uid}_${widget.user.currentAccount}');
subStories = await timeline.subscribe((message) {
print('New message: $message');
});
from stream-feed-flutter.
Okay thank you
from stream-feed-flutter.
Any updates on this?
from stream-feed-flutter.
Any up on this
from stream-feed-flutter.
@sachaarbonel has this been resolved yet?
from stream-feed-flutter.
@sachaarbonel is there any progress on this?
from stream-feed-flutter.
Related Issues (20)
- Is `flutter_stream_chat` still maintained and when will it be released? HOT 1
- The documentation of `StreamFeedClient` is no correct HOT 1
- Bad State: Future already completed (dio package )
- [Help] limit of withRecentReactions HOT 3
- MultiProvider and Stream Feeds
- keepHistory parameter is missing from unfollowFeed in feed_bloc.dart (0.8.0)
- auth error
- Examples on using Stream Feeds using Stream Auth Firebase Function Extention
- The GenericFeed parsing problem HOT 3
- StateError when adding a child comment
- is this package still maintained?
- Unable to run with flutter v3 or v2 HOT 1
- ownChildren null
- Subscribing to multiple streams concurrently doesn't work
- "Missing user ID" when running the Flutter Example
- Faye: Invalid websocket close code used for Web
- Using paginatedParamsActivities getter outside stream_feed_flutter package
- Incorrect Types for height an width in OpenGraphData Model HOT 3
- Stream Feeds and Chat incompatible due to reliance on DIO package. HOT 3
- Update to support Dart 3.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ī¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stream-feed-flutter.