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
- Pricing question for the civil society o...
Hey! Can someone help me out? 🥺 Do you have any discounts or programs for non-profit civil society organizations, even if they're not open-source? Or maybe you...
- Charged after Downgrade
I downgraded from the pro plan last month, but it’s still trying to charge my card this month and my account has been restricted
- Wifi issue with Pop!_OS linux distro
Hey guys... iam facing this very peculiar trouble with my linux distro... I use Pop!_OS on my HP victus gaming laptop with nvedia 2050 graphics card.... The pro...