MatthieuLemoine / Electron Push Receiver
Licence: mit
A module to bring Web Push support to Electron allowing it to receive notifications from Firebase Cloud Messaging (FCM).
Stars: ✭ 158
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Electron Push Receiver
andpush
Android Push Notification in Ruby: The fastest client for FCM (Firebase Cloud Messaging)
Stars: ✭ 83 (-47.47%)
Mutual labels: notifications, push-notifications, fcm, firebase-cloud-messaging
Push Receiver
A library to subscribe to GCM/FCM and receive notifications within a node process.
Stars: ✭ 125 (-20.89%)
Mutual labels: notifications, push-notifications, firebase-cloud-messaging, fcm
fcm
Golang client library for Firebase Cloud Messaging.
Stars: ✭ 22 (-86.08%)
Mutual labels: push-notifications, fcm, firebase-cloud-messaging
fcmpush
Firebase Cloud Messaging API wrapper for Ruby, suppot HTTP v1 API including access_token auto refresh feature.
Stars: ✭ 44 (-72.15%)
Mutual labels: push-notifications, fcm, firebase-cloud-messaging
Node Gcm
A NodeJS wrapper library port to send data to Android devices via Google Cloud Messaging
Stars: ✭ 1,286 (+713.92%)
Mutual labels: notifications, push-notifications, firebase-cloud-messaging
laravel-firebase
Laravel FCM (Firebase Cloud Messaging) Notification Channel
Stars: ✭ 25 (-84.18%)
Mutual labels: notifications, fcm, firebase-cloud-messaging
FCMBundle
A Bundle for Symfony projects to send notifications in mobile devices through Firebase Cloud Messaging API
Stars: ✭ 43 (-72.78%)
Mutual labels: notifications, fcm, firebase-cloud-messaging
Rpush
The push notification service for Ruby.
Stars: ✭ 1,886 (+1093.67%)
Mutual labels: notifications, firebase-cloud-messaging, fcm
Fcm Django
FCM Django: Send push notifications via django to websites, iOS & android mobile devices through FCM (Firebase Cloud Messaging)
Stars: ✭ 495 (+213.29%)
Mutual labels: push-notifications, firebase-cloud-messaging, fcm
Applozic Android Sdk
Android Real Time Chat & Messaging SDK
Stars: ✭ 611 (+286.71%)
Mutual labels: notifications, firebase-cloud-messaging, fcm
Easynotifylibproject
Send firebase notifications to your users very easily: A new Android Lib
Stars: ✭ 31 (-80.38%)
Mutual labels: notifications, push-notifications, fcm
Net Core Push Notifications
Lightweight .NET Core Push Notifications for Android and iOS
Stars: ✭ 105 (-33.54%)
Mutual labels: notifications, push-notifications, fcm
Uniqush Push
Uniqush is a free and open source software system which provides a unified push service for server side notification to apps on mobile devices.
Stars: ✭ 1,238 (+683.54%)
Mutual labels: push-notifications, fcm
Web Push Php
Web Push library for PHP
Stars: ✭ 1,224 (+674.68%)
Mutual labels: notifications, push-notifications
React Native Firebase
🔥 A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services.
Stars: ✭ 9,674 (+6022.78%)
Mutual labels: push-notifications, fcm
Ionic Pwa
🚀 Build a Progressive Web App with Ionic and Angular. Push Notifications. Deployed to Firebase Hosting. The Complete guide to build your PWA. Service Workers. Lighthouse. Web Manifest
Stars: ✭ 87 (-44.94%)
Mutual labels: push-notifications, firebase-cloud-messaging
Pushraven
A simple Java library to interface with Firebase Cloud Messaging (FCM) API. Pushraven allows you to push notifications to clients in very few lines of code.
Stars: ✭ 67 (-57.59%)
Mutual labels: firebase-cloud-messaging, fcm
React Native Onesignal
React Native Library for OneSignal Push Notifications Service
Stars: ✭ 1,270 (+703.8%)
Mutual labels: notifications, push-notifications
React Native Fcm
react native module for firebase cloud messaging and local notification
Stars: ✭ 1,729 (+994.3%)
Mutual labels: notifications, fcm
Push.js
The world's most versatile desktop notifications framework 🌎
Stars: ✭ 8,536 (+5302.53%)
Mutual labels: notifications, push-notifications
electron-push-receiver
A module to bring Web Push support to Electron allowing it to receive notifications from Firebase Cloud Messaging (FCM).
Why and how ?
See this blog post.
Install
npm i -S electron-push-receiver
Usage
- In
main.js
/ in main process :
const { setup: setupPushReceiver } = require('electron-push-receiver');
// Call it before 'did-finish-load' with mainWindow a reference to your window
setupPushReceiver(mainWindow.webContents);
- In renderer process :
import { ipcRenderer } from 'electron';
import {
START_NOTIFICATION_SERVICE,
NOTIFICATION_SERVICE_STARTED,
NOTIFICATION_SERVICE_ERROR,
NOTIFICATION_RECEIVED as ON_NOTIFICATION_RECEIVED,
TOKEN_UPDATED,
} from 'electron-push-receiver/src/constants';
// Listen for service successfully started
ipcRenderer.on(NOTIFICATION_SERVICE_STARTED, (_, token) => // do something);
// Handle notification errors
ipcRenderer.on(NOTIFICATION_SERVICE_ERROR, (_, error) => // do something);
// Send FCM token to backend
ipcRenderer.on(TOKEN_UPDATED, (_, token) => // Send token);
// Display notification
ipcRenderer.on(ON_NOTIFICATION_RECEIVED, (_, notification) => // display notification);
// Start service
ipcRenderer.send(START_NOTIFICATION_SERVICE, senderId);
Example
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].