Giter VIP home page Giter VIP logo

Comments (4)

ademidun avatar ademidun commented on September 25, 2024

Currently shelving this plan as its more complicated than originally anticipated.

See the Push Notifications Wiki and these two links for some more resources when I decide to come back to this.

May be better to just implement this using native/low level HTML and service worker functionality.

https://medium.com/izettle-engineering/beginners-guide-to-web-push-notifications-using-service-workers-cb3474a17679

https://60devs.com/getting-started-with-web-push-notifications.html

from atila-angular.

ademidun avatar ademidun commented on September 25, 2024

Google Developer Guides for Push Notifications recommend using Firefox error logs instead of Chrome.

If you hit problems at this stage, it's worth looking at the error logs from Firefox before Chrome. The Mozilla push service has much more helpful error messages compared to Chrome / FCM.

Edit: Matthew Gaunt has a Webpush EBook

Google Developers Fundamentals on Push Notifications is also pretty good.

from atila-angular.

ademidun avatar ademidun commented on September 25, 2024

@jdailly If you're interested FYI only.

The Push Notification feature we're adding is using encryption and public/private key features that are very similar to what we learned in networking class today. See page 45 of the Mathew Gaunt eBook PDF

from atila-angular.

ademidun avatar ademidun commented on September 25, 2024

Update: Trying to respond to notificationClick Event.

Came across this tutorial from Jakub that explains how to combine custom service worker scripts in Angular.

Found it through this SO answer and this github issue comment.

This medium blog post shows an update that handles this automatically in Angular 7.

Pull request of the request to addNotificationClick: angular/angular#25860

from atila-angular.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.