-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I have a project in that we have page called community when all user can post so I need to subscribe to get updates
let userFeed = Client.shared.flatFeed(feedSlug: "community", userId: community_id_here)
userFeed.subscribe(typeOf: GetStreamActivity.self, subscription: { result in
switch result {
case .success(let activities):
// Handle received activities
print("Received activities: (activities)")
case .failure(let error):
// Handle subscription error
print("Failed to subscribe: (error)")
}
})
This never print Received activities or Failed to subscribe
Please help me
Metadata
Metadata
Assignees
Labels
No labels