How to use the Google Calendar viewer method inside a Chrome extension without a server

In my Chrome extension, can I use the Google Calendar API browsing method to receive push notifications instead of polling without hosting my own server?

Can Firebase / FCM or chrome.gcm provide a solution? maybe a cloud?

+4
source share
1 answer

You can avoid lengthy polling, but you still have to host a server, even for FCM.

I would advise you:

  • Heroku, NodeJS- . MongoDB . , .

  • FCM , . install , , , . , .

  • URL- Heroku Watch API. , Heroku.

API ,

  • / FCM .
  • to . , .

    API → Heroku → FCM →

. . Heroku .

+3

Source: https://habr.com/ru/post/1660519/


All Articles