-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NotificationService get_notification_item
implementation
#1628
Comments
We want to use /sync to retrieve the matrix event associated to a push. It is very similar to what we have in current element mobile apps. Except current apps use sync v2 and a lot of data. We are going to use sliding sync. The behavior in Element-iOS and its SDK is:
Notes:
To consider:
Glossary:
|
and
seem kind of conflicting to me. Why have a queue when every process created from push is only allowed to create a single notification? Overall I think it will be easiest for each push process to
|
On iOS, all notifications are handled by the same process, this is the Notification Service Extension (iOS people often call it NSE). The OS makes an async call to NSE for every received push. The NSE returns the notification content for each async call. Basically each iOS app extension runs on its own process. We have those processes:
|
this has been completed by merging #1869 |
The NotificationService stub that I made in this PR is not able yet to fetch the content of a
TimelineItemEvent
since the sliding sync is not capable of accessing these elements yet.However once the sliding sync (or another way around it is found) would allow for fetching such content given the room_id and the event_id we should implement a way to create the notification item and send it back to the client using it.
The text was updated successfully, but these errors were encountered: