获取Chrome扩展程序中日历事件的推送通知

问题描述 投票:0回答:1

我已经将Google Calendar API与我的Chrome Extension集成在一起。

当我从任何客户安排日历活动时,我需要在我的扩展程序中收到通知。我该如何获得此功能?

正在阅读关于Google Calendar Push,但这推动了SSL认证的网页。是否可以直接在扩展程序中接收通知?

google-chrome-extension google-calendar-api
1个回答
0
投票

指定用于chrome扩展的通知是chrome.notifications

使用chrome.notifications API使用模板创建丰富的通知,并向系统托盘中的用户显示这些通知。

你可以尝试一下github sample

© www.soinside.com 2019 - 2024. All rights reserved.