
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
- Could not open input file: /usr/src/code...
I updated my selfhosted instance to `1.6.2` and the new service (`appwrite-task-stats-resources`) failed to start. The only log message I see is: ``` Could not ...
- Question
Is there anyway to modify the self hosted appwrite code in the register section so that only @eonfluxtech.com emails can register?
- 15$ payment
Hello everyone! there is a small issues, I accidently paid 15$ today, I am a student, I never claimed the pro plan on github edu. but I acciently paid those 15 ...
