Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Add notification #25

Open
berry opened this issue Dec 22, 2016 · 1 comment
Open

Add notification #25

berry opened this issue Dec 22, 2016 · 1 comment

Comments

@berry
Copy link

berry commented Dec 22, 2016

I have been reviewing Kinto as an alternative to Firebase + Elm. I also like Kinto being implemented in Python. Being also a Python programmer this give me the opportunity to do server side stuff if necessary. I miss that opportunity in Firebase.

What would definitely win me over is an example in Elm with notifications. For example, in the existing example. I open two browsers, I would create a record in browser A and this record would automatically show up in browser B. Also record updates would immediately be reflected in both browsers.

Thanks very much in advance for winning me over ;-)

Berry

@Natim
Copy link
Member

Natim commented Nov 2, 2018

I am glad you raise this concern (also I missed the past two years so I am probably too late…)

Using Pusher

You have multiple ways of handling push-notifications with Kinto. One is using kinto-pusher

You can then plug Pusher with elm to trigger a sync.

Using webpush-channels

In case for some reasons you don't or can't use Pusher, you can also host webpush-channels and plug it with Kinto to let your users subscribe to some channels and then tell kinto to publish update in that channel.

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

No branches or pull requests

2 participants