Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

UnifiedPush support #2

Description

@p1gp1g

Hi !
I wanted to comment on the other ticket but just have been closed. It is about 2 things

  1. Architecture

Just an example, mollysocket is the equivalent for signal (and molly as signal client - should be merged soon, available as a beta) of you-have-mail for your mail providers. You may want give a look, I've written it in rust too :)

Concerning UnifiedPush : your app (you-have-mail) will receive an endpoint with its UnifiedPush distributor (ntfy/NextPush/Conversation/etc) and this endpoint may change.

Basically, you have to set your you-have-mail-cli endpoint in you-have-mail (android) and the android app will update its endpoint when it receives a new one. (see molly/mollysocket)

  1. The push message

I haven't look how you send it. But we suggest 2 solutions:
a - A generic message and a sync-on-push strategy : the app sync when it receives the notification.
b - Webpush : so the content of the message is encrypted. You can give a look at the UP-Example's class related to WebPush to see how it works

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions