Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to use web push on desktop app generated by the nativefier (from electron)? #840

Closed
YohaanYoon opened this issue Jun 22, 2021 · 3 comments

Comments

@YohaanYoon
Copy link

YohaanYoon commented Jun 22, 2021

Description

  • Is it possible to use web push on desktop app generated by the nativefier (from electron)?
@rgomezp
Copy link
Contributor

rgomezp commented Jun 23, 2021

Howdy,
Thanks for the question. Unfortunately, while Electron supports service workers and uses the Notification API, they don't yet have Push API support.

You can read more about it here

@rgomezp rgomezp closed this as completed Jun 23, 2021
@YohaanYoon
Copy link
Author

YohaanYoon commented Jun 24, 2021

@rgomezp

I have one more question.
Is it possible to use web push on electron using https://github.com/MatthieuLemoine/electron-push-receiver?
I tested it and the electron received push notification with the fcm (firebase cloud messaging).
In addition, is it possible to native push on electron with fcm?

Please let me know any idea to solve this issue.

@jkasten2
Copy link
Member

@YohaanYoon Thanks for pointing this out!

OneSignal doesn't have official support for this but others have gotten this to work with OneSignal in the past. See
#98 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants