The realtime API is not really working in a backgroundworker in flutter so I guess it's not possible
ooo i didnt know that, you could use silent pushes to tell the app to update i believe
Yes, for that the Push Notification are great
But If you're looking for a push notification in which you're listening in the app, and proceed accordingly it's not what it is.
For in app messages, you can use the traditional realtime feature that appwrite has
Notifications are for when the app is closed
This. And when the app pauses, you use a push to the app so the user re-opens and realtime continues
But he would like to have real-time processing in the background
For this, there's a need for silent push notifications.
The newly created Messaging product is for sending message using PN.
What's silent push notifications
Apple has a good description
"If your app’s server-based content changes infrequently or at irregular intervals, you can use background notifications to notify your app when new content becomes available. A background notification is a remote notification that doesn’t display an alert, play a sound, or badge your app’s icon. It wakes your app in the background and gives it time to initiate downloads from your server and update its content."
But why do you need realtime with the app closed? 👀
because say you've got a chat app, user a and b can both talk "in realtime" when theyve got the app both open
if one has it closed, the other person sends an update and push notifies the second client
If you want to fetch something for the user for example Or You want to change something in the background
In such case as you said, you can update with push notifications
yeah thats my point
Yes, this is the most valid specific case
Is the massaging live ? so that i can update my server ?
no, with 1.5 release sometime in march
Thanks for the quick replies it helped me a lot
no problemo 🙂
Recommended threads
- [SOLVED] What does avatars.getInitials r...
I am using this function and on logging the value i am getting something like `{"_h": 0, "_i": 0, "_j": null, "_k": null}` here is the code i used ```export fun...
- does appwrite accept debit card as a pay...
does appwrite accept debit card as a payment method?
- In which format should i pass the date?
I have a column with the type `datetime`. So i want to know which format is suitable for passing the date