seadroid icon indicating copy to clipboard operation
seadroid copied to clipboard

Push notifications support

Open omkarnathsingh opened this issue 6 years ago • 6 comments

ios Seafile clients has push notifications support? Can we have the push notifications for Android client also using GCM/FCM?

omkarnathsingh avatar Jun 08 '18 08:06 omkarnathsingh

I doubt that it has push notifications.

What do you want to get pushed?

shoeper avatar Jun 08 '18 08:06 shoeper

ios commit: https://github.com/haiwen/seafile-iOS/commit/64b26c1afddb63297eedcd22d3654136a4352632

seahub commit: https://github.com/haiwen/seahub/commit/6b1144d7a47857f0fbe4862e0d5b763687d30c92

I would suggest to use push notifications for all the alerts/notifications which are mailed or appear in web client like

  • When someone shares me a file / directory

  • When I am added to a group

  • Chat mention maybe?

Thanks

omkarnathsingh avatar Jun 08 '18 08:06 omkarnathsingh

Ok, thanks. Didn't knew that. Still wondering where it is being configured because I'd expect sending push notifications on iOS require some sort of account / api key.

shoeper avatar Jun 08 '18 11:06 shoeper

It might be using Apple Notification as mentioned on Apple's developer website. For Android, FCM can be used under similar conditions, should I raise a issue on seahub repo also to support and add details for FCM and Android device registration?

omkarnathsingh avatar Jun 08 '18 11:06 omkarnathsingh

I think it is not needed. I currently do not develop for the Seafile project, but doubt that this will be addressed soon.

shoeper avatar Jun 08 '18 11:06 shoeper

Oh okay. This change will require server also to send connect to google servers and send alerts. Just doing in client will not help.

omkarnathsingh avatar Jul 14 '18 09:07 omkarnathsingh