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

Function idea: subscriptions through push notifications #46

Open
kbrandwijk opened this issue Aug 2, 2017 · 1 comment
Open

Function idea: subscriptions through push notifications #46

kbrandwijk opened this issue Aug 2, 2017 · 1 comment

Comments

@kbrandwijk
Copy link
Contributor

kbrandwijk commented Aug 2, 2017

I just want to put this out here in case anyone else is also considering the same approach. The idea is that you would set up a SSS, and send the data as a Push notification.

So it would basically behave as a client side subscription, but instead of getting the results over an active wss connection, you would get the results as push notification, for when your app is not running.

Based on: https://developers.google.com/web/fundamentals/getting-started/codelabs/push-notifications/ (client-side) and https://github.com/web-push-libs/web-push (SSS-side) for browser, and similar platforms for mobile push notifications (for example: AWS SNS).

@kbrandwijk kbrandwijk changed the title Example request: push notifications for subscriptions Function idea: subscriptions through push notifications Aug 2, 2017
@OlafJacobson
Copy link

Just to clarify for anyone else who's wondering (as it can be confusing with the terms that are almost similar: web, push & notifications), this is different from a web sockets approach like here: https://github.com/graphcool/graphcool/tree/master/examples/push-notifications

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

No branches or pull requests

3 participants