zhukov / webogram

Telegram web application, GPL v3
https://web.telegram.org
GNU General Public License v3.0
7.96k stars 2.36k forks source link

Add in background Chrome OS notifications #1437

Open sergioad opened 7 years ago

sergioad commented 7 years ago

Hi @zhukov could you add in background Chrome OS notifications? I really need them to get frequebt notifications

orschiro commented 7 years ago

You mean without having keep an active open tab of Telegram Web?

stek29 commented 7 years ago

@orschiro An open Chrome OS "app" of Telegram I guess. Maybe @vcantu can help?

vcantu commented 7 years ago

@sergioad I assume you want notifications when the Chrome OS app is not running. Because web.telegram.org already sends notifications while not running

sergioad commented 7 years ago

Indeed @vcantu , apps like YouTube G+ and some third party apps allready supports this function

Ryuno-Ki commented 7 years ago

Can you dig up documentation about the Chrome OS notifications API? Could ease the job if someone wants to pick this issue up.

zhukov commented 7 years ago

I suppose the notifications will work as soon as we update the package, since the latest version has already support for HTML Push for Chrome via GCM. Is anyone able to try generate and install package on Chrome OS?

sergioad commented 7 years ago

I can not since I do not how to do it 😢

vcantu commented 7 years ago

@zhukov I'll generate it when I get a chance

sergioad commented 7 years ago

Thank you very much, if the results are favorable the best way to get that package is via the play store, with the mainstream and main telegram web app based only on the URL to be distributed may not be favorable having the allways on notifications

zhukov commented 7 years ago

I've already pushed the release to chrome web store. Please test and let me know about the results.

sergioad commented 7 years ago

thank you very much

vcantu commented 7 years ago

Tested the new release on ChromeOS and push notifications do not work if the application is not running.

sergioad commented 7 years ago

indeed