Comments (4)
You want to have access to the encryption keys for sending notification ?
You don't need those if you are sending notifications using FCM. FCM is handling the encryption part.
If you're talking about decryption, push-receiver already decrypts the notifications.
from electron-push-receiver.
And if you're talking about FCM registration. It's already taken care of by push-receiver that's why you only need the FCM token.
from electron-push-receiver.
@MatthieuLemoine
Chrome 50+ allows receiving payloads within notification but to send this payload the back end needs those keys for encryption.
https://developers.google.com/web/updates/2016/03/web-push-encryption
from electron-push-receiver.
Ok I see the use case.
For now electron-push-receiver & push-receiver only supports sending notifications through FCM using the FCM serverKey provided by the Firebase console.
What I understand is that you want to use your own push server using the Web Push Protocol. Unfortunately, it's not currently supported by push-receiver.
But it would be great to add support for this.
from electron-push-receiver.
Related Issues (20)
- Force the FCM connection via a proxy?
- How to add an image on notification HOT 1
- TypeError: Cannot read property 'fcm' of undefined (MAC OS system)
- How to display icon HOT 1
- PUSH_RECEIVER:::Error while starting the service TypeError: Object has been destroyed HOT 1
- A javascript error occurred in the main process
- Getting a token, but not receiving any messages, please help! HOT 1
- trouble with ElectronForge webpack plugin HOT 1
- The service is currently unavailable HOT 20
- Is local time used for connecting to FCM server?
- Cannot read property 'fcm' of null HOT 1
- Exception from outdated electron-config module on newer version of Electron HOT 5
- macOS > Not work
- Cannot find module "electron-push-receiver"
- Hello MatthieuLemoine
- Suddenly not receiving notifications anymore. HOT 2
- persistentIds grows without bound? HOT 2
- Is it possible to receive notifications using port 443? HOT 1
- cannot generate a FCM token using electron-push-receiver
- Deleting current token
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-push-receiver.