[aerogear-dev] Chrome Push API with AeroGear Unified Push Example

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[aerogear-dev] Chrome Push API with AeroGear Unified Push Example

Idel Pivnitskiy
Hi all,

I've created an example, which shows how Chrome Push API could work with AeroGear Unified Push. It works without any changes to the UPS code base!

And here is a demo: https://youtu.be/o6FdbJm-47Y

Hope you will enjoy! :)

Best regards,
Idel Pivnitskiy
--

_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev
Reply | Threaded
Open this post in threaded view
|

Re: [aerogear-dev] Chrome Push API with AeroGear Unified Push Example

Matthias Wessendorf
Hi Idel!

this is great stuff! Thanks for putting together such a nice video!

On Mon, Jun 27, 2016 at 2:25 AM, Idel Pivnitskiy <[hidden email]> wrote:
Hi all,

I've created an example, which shows how Chrome Push API could work with AeroGear Unified Push. It works without any changes to the UPS code base!

And here is a demo: https://youtu.be/o6FdbJm-47Y

Hope you will enjoy! :)

Best regards,
Idel Pivnitskiy
--

_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev



--

_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev
Reply | Threaded
Open this post in threaded view
|

Re: [aerogear-dev] Chrome Push API with AeroGear Unified Push Example

Oleh Mackiv
In reply to this post by Idel Pivnitskiy
Hello Idel,
Great demo !

Thank you for sharing.

On Mon, Jun 27, 2016 at 2:25 AM, Idel Pivnitskiy <[hidden email]> wrote:
Hi all,

I've created an example, which shows how Chrome Push API could work with AeroGear Unified Push. It works without any changes to the UPS code base!

And here is a demo: https://youtu.be/o6FdbJm-47Y

Hope you will enjoy! :)

Best regards,
Idel Pivnitskiy
--

_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev



--
Oleg Matskiv
Associate Quality Engineer
Red Hat Mobile Application Platform
[hidden email]

_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev
Reply | Threaded
Open this post in threaded view
|

Re: [aerogear-dev] Chrome Push API with AeroGear Unified Push Example

Luke Holmquist
Awesome.

i remember writing a blog post on using the Android variant for chrome,  but i don't think i ever created an example for it.  And i think it was only for packaged apps at that time.  So this is really nice.


I've actually been looking at Web Push a little lately and i noticed that to send a payload, there are some extra bits of info, that are attached to the subscription object that would probably need to be stored on the UPS somehow.   I believe this is the same for FF too. 

I wonder if we should start looking at a "WebPush" variant.  If only Safari would follow suit. 



On Mon, Jun 27, 2016 at 4:45 AM, Oleg Matskiv <[hidden email]> wrote:
Hello Idel,
Great demo !

Thank you for sharing.

On Mon, Jun 27, 2016 at 2:25 AM, Idel Pivnitskiy <[hidden email]> wrote:
Hi all,

I've created an example, which shows how Chrome Push API could work with AeroGear Unified Push. It works without any changes to the UPS code base!

And here is a demo: https://youtu.be/o6FdbJm-47Y

Hope you will enjoy! :)

Best regards,
Idel Pivnitskiy
--

_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev



--
Oleg Matskiv
Associate Quality Engineer
Red Hat Mobile Application Platform
[hidden email]

_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev


_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev
Reply | Threaded
Open this post in threaded view
|

Re: [aerogear-dev] Chrome Push API with AeroGear Unified Push Example

Idel Pivnitskiy
Thank you, guys!
 
i remember writing a blog post on using the Android variant for chrome,  but i don't think i ever created an example for it.  And i think it was only for packaged apps at that time. 

Yes, previously it worked just with chrome extensions and applications.
 
I've actually been looking at Web Push a little lately and i noticed that to send a payload, there are some extra bits of info, that are attached to the subscription object that would probably need to be stored on the UPS somehow.   I believe this is the same for FF too.  

Chrome does not support payload in push notifications because they haven't implemented encryption yet. Encryption of push messages is mandatory. That's why they decided to keep it null. But according to the MDN, FF should support it [1]. I will check.

I also want to notice, that FCM/GCM does not support Web Push protocol now. Googlers just implemented a Push API [2] in Chrome (browser part of WebPush) and use their proprietary protocol for push message delivering.


Best regards,
Idel Pivnitskiy
--

On Mon, Jun 27, 2016 at 3:47 PM, Luke Holmquist <[hidden email]> wrote:
Awesome.

i remember writing a blog post on using the Android variant for chrome,  but i don't think i ever created an example for it.  And i think it was only for packaged apps at that time.  So this is really nice.


I've actually been looking at Web Push a little lately and i noticed that to send a payload, there are some extra bits of info, that are attached to the subscription object that would probably need to be stored on the UPS somehow.   I believe this is the same for FF too. 

I wonder if we should start looking at a "WebPush" variant.  If only Safari would follow suit. 



On Mon, Jun 27, 2016 at 4:45 AM, Oleg Matskiv <[hidden email]> wrote:
Hello Idel,
Great demo !

Thank you for sharing.

On Mon, Jun 27, 2016 at 2:25 AM, Idel Pivnitskiy <[hidden email]> wrote:
Hi all,

I've created an example, which shows how Chrome Push API could work with AeroGear Unified Push. It works without any changes to the UPS code base!

And here is a demo: https://youtu.be/o6FdbJm-47Y

Hope you will enjoy! :)

Best regards,
Idel Pivnitskiy
--

_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev



--
Oleg Matskiv
Associate Quality Engineer
Red Hat Mobile Application Platform
[hidden email]

_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev


_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev


_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev
Reply | Threaded
Open this post in threaded view
|

Re: [aerogear-dev] Chrome Push API with AeroGear Unified Push Example

Luke Holmquist


On Mon, Jun 27, 2016 at 5:56 PM, Idel Pivnitskiy <[hidden email]> wrote:
Thank you, guys!
 
i remember writing a blog post on using the Android variant for chrome,  but i don't think i ever created an example for it.  And i think it was only for packaged apps at that time. 

Yes, previously it worked just with chrome extensions and applications.
 
I've actually been looking at Web Push a little lately and i noticed that to send a payload, there are some extra bits of info, that are attached to the subscription object that would probably need to be stored on the UPS somehow.   I believe this is the same for FF too.  

Chrome does not support payload in push notifications because they haven't implemented encryption yet. Encryption of push messages is mandatory. That's why they decided to keep it null. But according to the MDN, FF should support it [1]. I will check.
check out the Service Workers Cookbook, for the Push With Payload example,  https://serviceworke.rs/push-payload.html .  It works in Firefox

I also want to notice, that FCM/GCM does not support Web Push protocol now. Googlers just implemented a Push API [2] in Chrome (browser part of WebPush) and use their proprietary protocol for push message delivering.


Best regards,
Idel Pivnitskiy
--

On Mon, Jun 27, 2016 at 3:47 PM, Luke Holmquist <[hidden email]> wrote:
Awesome.

i remember writing a blog post on using the Android variant for chrome,  but i don't think i ever created an example for it.  And i think it was only for packaged apps at that time.  So this is really nice.


I've actually been looking at Web Push a little lately and i noticed that to send a payload, there are some extra bits of info, that are attached to the subscription object that would probably need to be stored on the UPS somehow.   I believe this is the same for FF too. 

I wonder if we should start looking at a "WebPush" variant.  If only Safari would follow suit. 



On Mon, Jun 27, 2016 at 4:45 AM, Oleg Matskiv <[hidden email]> wrote:
Hello Idel,
Great demo !

Thank you for sharing.

On Mon, Jun 27, 2016 at 2:25 AM, Idel Pivnitskiy <[hidden email]> wrote:
Hi all,

I've created an example, which shows how Chrome Push API could work with AeroGear Unified Push. It works without any changes to the UPS code base!

And here is a demo: https://youtu.be/o6FdbJm-47Y

Hope you will enjoy! :)

Best regards,
Idel Pivnitskiy
--

_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev



--
Oleg Matskiv
Associate Quality Engineer
Red Hat Mobile Application Platform
[hidden email]

_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev


_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev


_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev


_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev