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

Browser support #48

Open
albertfrates opened this issue Jan 25, 2021 · 1 comment
Open

Browser support #48

albertfrates opened this issue Jan 25, 2021 · 1 comment

Comments

@albertfrates
Copy link

I created a fork of this repo, however I'm taking a step back to ask the question:

What would it take to get this running in the browser. Currently I noticed it uses the native crypto module in Node. I did find a 1:1 replacement for this in the browser. crypto-browserify.

What else would be needed to make this work in the browser? I'm up for doing the work but wanted to see if you could share any insights you have.

We have a project where we want to have a React App receive notifications.

@jimmywarting
Copy link

I know nothing but i presume the push receiver sets up a TCP socket which you do not have in the browser. so i bet it's not possible, use native web push instead?

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

2 participants