meteor-chrome-push-notifications:为 Meteor 打包的 Chrome 推送通知

时间:2021-06-11 05:02:46
【文件属性】:
文件名称:meteor-chrome-push-notifications:为 Meteor 打包的 Chrome 推送通知
文件大小:6KB
文件格式:ZIP
更新时间:2021-06-11 05:02:46
JavaScript Chrome 推送通知(适用于 Meteor) 玩转推送通知 API 目前,这仅将 subscriptionId 登录到控制台。 它应该将该 subscriptionId 发送到服务器并将其链接到当前用户。 如何使用 添加包( canotto90:chrome-push-notifications )。 添加启用按钮: 如果使用 MaterializeCSS,只需在 HTML 中的某处声明{{> push_notification_enabling_button}} 。 如果没有,您必须为启用按钮创建一个 HTML 模板,其中包含一个复选框。 Checkbox 的 id 必须是“push-button”。 将"gcm_sender_id": ""和"gcm_user_visible_only": true到您的manifest.json文
【文件预览】:
meteor-chrome-push-notifications-master
----subscription-manager.js(3KB)
----methods.js(1KB)
----collections.js(86B)
----push_notification_enabling_button.html(324B)
----package.js(783B)
----README.md(3KB)
----.versions(509B)
----service-worker-registration.js(2KB)
----push_notification_enabling_button.js(411B)

网友评论