Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Desktop Notifications #6316


User avatar
0
timmy.shumate created

Hey guys,

I am looking for a solution to push desktop notifications from the app. Is there something you did already implement, and I didn't find, or anything you would recommend?

Regards and thanks in advance!


8 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    Yes, ASP<span></span>.NET Zero implements desktop push notification for Angular and MVC using https://pushjs.org/docs/quick-start.

  • User Avatar
    0
    timmy.shumate created

    Hey Aaron,

    as I was looking for solutions, I also stumbled over pushjs.

    But pushjs seems to work only in Firefox. Neither Chrome nor Edge displayed notifications in the examples I tried.

    Regards

  • User Avatar
    0
    aaron created
    Support Team

    Check your browser console for errors.

  • User Avatar
    0
    jaydeep.sakariya created

    I am also having problem in crome browser, I have checked in console it showing in requests but not executing push notifications.

    Screenshot of push api requests in crome

  • User Avatar
    0
    ismcagdas created
    Support Team

    On Chrome, you need to allow your app on chrome://settings/content/notifications.

  • User Avatar
    0
    timmy.shumate created

    Wouldn't that happen via permission notification? Could you please verify, that this doesn't work for chrome on https://pushjs.org even on the simple example.

  • User Avatar
    0
    ismcagdas created
    Support Team

    It doesn't work if your setting is "Blocked" on the Chrome like below;

    If you select "Ask before sending", it will ask you for your permission. So, there is nothing related to AspNet Zero or push.js I guess.

  • User Avatar
    0
    timmy.shumate created

    Thank you for your help concerning this! I checked all this before I opened this thread. And I have to admit, that the following is a little embarassing:

    Windows was blocking notifications.

    Now was it interesting is: Why doesn't it block firefox notifications? Not a problem of this scope here...

    Thanks for all your help!

    Best Timmy