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
- Custom Domains
Hi All, Should be a quick config issue. I'm setting up custom domains on the hosted version. I have verified the domain with the CNAME but appwrite isn't gene...
- Unauthorized Charge After Appwrite Pro F...
I was using Appwrite Pro credits worth $100, which were valid until November. During this period, I was exploring Appwrite's services. However, I recently notic...
- Cancelling Pro account and billing perio...
Is it possible to switch back to a free account and cancel a billing period. i switched to pro version for a day and realised i don't need it and i want to retu...