Open freswa opened 6 years ago
We use
payload.APS.AccountId = reg.AccountId
where AccountId is a not documented parameter only for the mail app. I think that there is probably more undocumented there...
Hi, a customer of mine is very interested in this feature and willing to invest some money in order to bring this forward.
What would be the next action to do here in order to solve this issue?
Kind regards Markus
Hey @markus-meissner this is being havily worked on. The main problem is to find out how Apple implemented subfolder push. I can give you some more details via email. freswa
Has there been any development on this?
@freswa any more updates?
When connected to the dovecot-xaps-plugin, iOS offers to choose which mailboxes/imap subfolders should be pushed. Two parts are needed for this:
The plugin only needs to notify the daemon when:
The daemon then looks up if the client is subscribed to this mailbox/subfolder and sends a notification.
There is still some work to be done: At the moment we only send a notification to the client, which then automatically fetches the INBOX. But even though other folders are marked as subscribed, they do not get fetched upon notification. So there must be some information that needs to be added to the notification which then triggers a certain folder to be fetched.