Redth / PushSharp

A server-side library for sending Push Notifications to iOS (iPhone/iPad APNS), Android (C2DM and GCM - Google Cloud Message), Windows Phone, Windows 8, Amazon, Blackberry, and (soon) FirefoxOS devices!
Other
4.38k stars 1.52k forks source link

Support on APNs update. #911

Open guiedinger opened 5 years ago

guiedinger commented 5 years ago

Today i received this email from Apple: image The PushSharp has support to this new protocol?

martinkwok commented 4 years ago

pushsharp has any updates about this issue yet? or please provide alternative solution to work around it

iamitdubey commented 4 years ago

Is there a workaround for this issue yet?

penguinawesome commented 4 years ago

Any updates? This library will be deprecated and unusable starting Nov 2020 (Next month).

mubaraknet commented 4 years ago

Any update on this?

coltonhurst commented 3 years ago

I'm assuming most people know this already, but just commenting for any who may stumble across this in the future... :)

I haven't worked on this project, but based on the SendBatch() function in ApnsConnection.cs, the connection strings for the APNS binary protocol API in ApnsConfiguration.cs, and the lack of the Apple HTTP/2 connection strings in the project, I believe the PushSharp project only supports the binary protocol. It looks like some HTTP/2 support was starting to be added but was not completed.

As the binary protocol is being retired by Apple, I believe PushSharp will no longer work. Apple is retiring the binary protocol March 31, 2021, so transition quickly! Thankfully there are other options for C# though, like CorePush.

igobl commented 3 years ago

FYI to anybody panicking reading this, the above package CorePush is currently only working for .NET 4.7+. There is an outstanding issue so maybe it will extended to work on 4.6 but at the time of writing it does not.

As I am on .NET 4.6, I have successfully used another library dotAPNS