voyager icon indicating copy to clipboard operation
voyager copied to clipboard

Push notifications

Open aeharding opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe.

I have to open Voyager to see if I have new Lemmy notifications.

Describe the solution you'd like

Push notifications.

Describe alternatives you've considered

Opening the app like a pleb

Additional context

Ideally Android, iOS and PWA, but minimum would be native app only.

aeharding avatar Dec 07 '23 14:12 aeharding

Please note this is currently blocked until https://github.com/LemmyNet/lemmy/issues/2631 is addressed.

Currently, the only ways for apps to implement this is to 1) store users' Lemmy authentication tokens on a server that app devs own. To me this introduces an unacceptably high security liability. Or 2) to setup a background task to periodically refresh. It would require the server to poll lemmy instances for notifications, which increases server load/cost both for me an the lemmy instance, which is not ideal, and also reduce battery life on device.

Once https://github.com/LemmyNet/lemmy/issues/2631 is implemented we can create a Voyager relay such as https://github.com/metabolist/metatext-apns which is a lot more secure and scales better!

aeharding avatar Dec 07 '23 14:12 aeharding