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
- Appwrite Python SDK Keeps returning the ...
So I have a couple services, one is a scheduling engine responsible for fetching data from a database and launching a containerized micro service to process tha...
- Console: Query on attribute has greater ...
I noticed an issue when one of my tables reached over ~800 rows. That table is relational to my users table Within the console I am able to view the table with ...
- Query regarding hackathon sponsorship
We at our college were organising a hackathon and I was wondering whether appwrite would like to partner with us? We are from a student branch of IEEE. It is a...