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

Feedback #1

Open
tpeczek opened this issue Jan 19, 2018 · 8 comments
Open

Feedback #1

tpeczek opened this issue Jan 19, 2018 · 8 comments

Comments

@tpeczek
Copy link
Owner

tpeczek commented Jan 19, 2018

This issue is for general feedback regarding this project.

@theLeftTenant
Copy link

I read your walk-throughs and this seems like the most well maintained .Net Core Web Push tool. Any interest in strong naming the DLLs?

@tpeczek
Copy link
Owner Author

tpeczek commented Jan 17, 2019

Thank you.

Regarding the strong naming, it has positive recommendation and negative aspects are less important those days, so I see no issue with doing that. I've created an issue to track it (#8).

@vpetrusevici
Copy link

Would be good to add a constructor with no parameters for PushMessage, because with current implementation is impossible to deserailise object of this class from json without creating new class and mapping properties

@tpeczek
Copy link
Owner Author

tpeczek commented Mar 17, 2020

@vpetrusevici I will consider that. It opens some error scenarios but maybe it's worth it.

@rouen-sk
Copy link

rouen-sk commented Mar 7, 2021

Hey, nice library. However, you should probably add PushServiceClient constructor accepting IHttpClientFactory (instead of HttpClient) and use CreateClient internally to support long-running scenarios correctly.

@tpeczek
Copy link
Owner Author

tpeczek commented Mar 7, 2021

Hi @rouen-sk. Thank you for the feedback. In my mind PushServiceClient is somethign to be used in various scenarios (think of if like of Refit for example), and accepting HttpClient gives the most flexibility. Scenarios like integration with HttpClientFactory, in my opinion, should be done from outside. That said I'm happy to conider some generic purpose extensions to HttpClientFactory which would make this easier (I have some for ASP.NET Core, but from time perspective they seem too opinionated).

@shareonline
Copy link

I just found this as I am investigating why I can't seem to get the Webpush. Net nuget package to work correctly on android.
I have everything set up and my chromium edge win11 pc gets all notifications correctly, even when deployed to Azure. But I simply can't get android to work with it, and others like progressier for instance work fine.

I was wondering if this library works without issues on newest versions of android/Chrome etc?

And thanks for your work by the way! If this works as expected a beer or alike will certainly be thrown at you :)

Is this updated to use newest versions available for dependencies?

@tpeczek
Copy link
Owner Author

tpeczek commented Nov 11, 2023

I just found this as I am investigating why I can't seem to get the Webpush. Net nuget package to work correctly on android. I have everything set up and my chromium edge win11 pc gets all notifications correctly, even when deployed to Azure. But I simply can't get android to work with it, and others like progressier for instance work fine.

I was wondering if this library works without issues on newest versions of android/Chrome etc?

And thanks for your work by the way! If this works as expected a beer or alike will certainly be thrown at you :)

Is this updated to use newest versions available for dependencies?

Hi @shareonline,

The general answer is yes, this library supports Web Push in all OS/browser scenarios where the browser supports it. This includes Android/Chrome.

One Chrome specific aspect that has surfaced with one of latest versions, is that Chrome has started to complain about certain VAPID keys, you can read more in this issue: #29. If that is your case, than you need to play a little bit with keys provided in configuration. If you are picking up any other error, please share it and I'll take a look as soon as I will be able to carve some time.

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

No branches or pull requests

5 participants