This is example of using nextron with electron-push-receiver to send notification from Google Firebase Cloud Messaging (FCM) service.
# Clone this repository
$ git clone
# Go into the repository
$ cd nextron-with-fcm
# Install dependencies
$ yarn (or `npm install`)
You need to set your senderId in ./main/preload.ts
file, u can use .env
file to set it.
To test the notification just import the example electron FCM.postman_collection.json
file to your postman and send the request by change the SERVER_KEY with your Firebase FCM Server Key.
To see the FCM token you can open the devtools and see the console log in Chromonium the debug console.
# Run the app
$ yarn dev (or `npm run dev`)