PushSharp | side library for sending Push Notifications

 by   Redth C# Version: 4.0.10 License: Non-SPDX

kandi X-RAY | PushSharp Summary

kandi X-RAY | PushSharp Summary

PushSharp is a C# library typically used in Telecommunications, Media, Telecom applications. PushSharp has no bugs, it has no vulnerabilities and it has medium support. However PushSharp has a Non-SPDX License. You can download it from GitHub.

PushSharp is a server-side library for sending Push Notifications to iOS/OSX (APNS), Android/Chrome (GCM/FCM), Windows/Windows Phone, Amazon (ADM) and Blackberry devices!. PushSharp v3.0+ is a complete rewrite of the original library, aimed at taking advantage of things like async/await, HttpClient, and generally a better infrastructure using lessons learned from the old code. PushSharp will now follow [semver] versioning, so major version numbers will go up as there are any breaking api changes. [Join the chat at
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              PushSharp has a medium active ecosystem.
              It has 4352 star(s) with 1567 fork(s). There are 470 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 175 open issues and 585 have been closed. On average issues are closed in 192 days. There are 35 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of PushSharp is 4.0.10

            kandi-Quality Quality

              PushSharp has 0 bugs and 0 code smells.

            kandi-Security Security

              PushSharp has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              PushSharp code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              PushSharp has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              PushSharp releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of PushSharp
            Get all kandi verified functions for this library.

            PushSharp Key Features

            No Key Features are available at this moment for PushSharp.

            PushSharp Examples and Code Snippets

            No Code Snippets are available at this moment for PushSharp.

            Community Discussions

            QUESTION

            Sending Apple Push Notification via PushSharp.Core stopped working
            Asked 2021-Jun-15 at 15:45

            A few days ago my code for sending Push notifications stopped working :(

            The program began to hang on the last line apnsBroker.Stop();

            I use NuGet package PushSharp.Core https://github.com/mitch-tofi/PushSharp.Core

            ...

            ANSWER

            Answered 2021-Apr-27 at 13:30

            We're looking in to the same issue currently and it seems apple are disabling the old binary interface which push sharp uses.

            https://developer.apple.com/news/?id=c88acm2b

            pushsharp has it on the roadmap to support the new interface but not completed yet.

            Found this library which seems easy enough to use as a solution. hope this helps.

            https://github.com/alexalok/dotAPNS

            Source https://stackoverflow.com/questions/67280812

            QUESTION

            Pushsharp send apple notification failed : SSL Stream Failed to Authenticate as Client
            Asked 2020-Feb-16 at 08:19

            I trying to send push notification to apple devices using Pushsharp library on ASP.NET MVC project hosted on IIS.

            My code :

            ...

            ANSWER

            Answered 2018-Jan-20 at 12:25

            i think the issue related to the Push Sharp so please try this solution by changeing the SSl3 to Tls in the class called ApplePushChannel.cs and here is the change

            Source https://stackoverflow.com/questions/48355550

            QUESTION

            Apple Wallet/Passbook notifications would not deliver
            Asked 2019-Dec-21 at 16:32

            I am trying to send notification to update a digital card in wallet/passbook using Pushsharp. I have double-checked all these:

            • Use same certificate for signing the passes and updating them
            • Disabled the production/sandbox certificate check in Pushsharp
            • Using the pushtoken that I got from the device. Its in this format: d30720c34af46d65e02db3c3db6Ohae04d183dfaa105133f7c21b8d1963629fe
            • Generated .p12 certificate using this tutorial except following Step # 10: https://support.airship.com/hc/en-us/articles/213493683-How-to-make-an-Apple-Pass-Type-Certificate
            • telnet feedback.push.apple.com 2196 is successfull
            • The PassTypeIdentifier in pass.json is same as common name of the .p12 file
            • The card opens perfectly on the device
            • The device sends request for registering on the server
            • Pull-down update works perfectly

            But when I send the request for notification to APNs, the device does not hits back.

            Note: I have either changed or removed urls, tokens and paths from code below because of confidentiality

            Below is the code that I am using to send notification

            ...

            ANSWER

            Answered 2019-Dec-21 at 16:32

            I figured out what the problem was. The code given in question is correct. There's no error in it.

            The API was returning HTTP 404 when the device was requesting serial numbers. This was because my pass's passTypeIdentifier contained dots in it. It was like pass.acbcd.abcd. I just configured my API to allow dots in the url and everything started working fine.

            Source https://stackoverflow.com/questions/59411338

            QUESTION

            Pushsharp Apns notification error: 'InvalidToken'
            Asked 2019-Jul-25 at 13:52

            I am currently working on automatic updates for Passbook (wallet) tickets and am experiencing some trouble using the Pushsharp library by Redth.

            I am using a Push notification certificate from the apple developer portal.

            I have tried to export my certificate as .p12, .pem and tried to use only the private key as .12 or .pem but nothing works. This is my full certificate (information is blanked out for security reasons): https://cdn.pbrd.co/images/HUJtb7b.png I dont have enough reputation to post images so a link is all i can provide.

            ...

            ANSWER

            Answered 2019-Jan-04 at 10:46

            Okay, for anyone having the same issues in the future, it turned out i needed to use the same certificate i use for signing the passes and updating them. And that you cannot use the sandbox APNS because all passbook tokens are production tokens.

            Source https://stackoverflow.com/questions/54022598

            QUESTION

            How can I send APNS PushSharp send notification. It's working from localhost in asp.net but fail when we host API in Windows server
            Asked 2019-Apr-03 at 07:06

            I have implemented APNS PushSharp in asp.net web api using C# for Xamarin.ios native app. When we run api in localhost its send notification to iOS devices for both development and distribution certificate. But when we host api in IIS and call service, its fail to send notification. We did’t identify issue..can you please guide me?

            ...

            ANSWER

            Answered 2018-Sep-10 at 17:14

            I had the same problem and I solved it by changing the identity of the application pool on which my website was running

            Source https://stackoverflow.com/questions/51611330

            QUESTION

            Encoding with APNS Push in C#
            Asked 2019-Mar-29 at 04:11

            I'm using PushSharp to handle push notifications for iOS.

            Everything went well until I realized the way I'm handling the push isn't too powerful:

            apnsBroker.QueueNotification(new ApnsNotification {

            ...

            ANSWER

            Answered 2019-Mar-29 at 02:32

            As long as your variables are quoted (inside ") there's no need to escape braces ({ and })

            As for breaking the quote (having ") inside variables, you could do something like this:

            Source https://stackoverflow.com/questions/55409266

            QUESTION

            OpenSSL pkcs12 export fails when specifying CSR file
            Asked 2018-Aug-29 at 07:23

            I'm attempting to create a p12 file for use with PushSharp to send iOS push notifications. I used this exact process a year ago to renew our certificates and it worked fine; but now it's failing at the final step.

            Here is what I'm doing:

            1. Create a certificate signing request in Keychain Access, as a file named CertificateSigningRequest.certSigningRequest
            2. Export the private key from Keychain Access, saving the file as private_key.p12
            3. Go to developer.apple.com, create a production Apple Push Services certificate using the CSR file from step 1, download the file as aps.cer
            4. Run the following commands in a shell (pretty much identical to what one finds on some other Stack Overflow posts):
            ...

            ANSWER

            Answered 2018-Aug-29 at 07:23

            Don't try to give a CSR file as parameter of -certfile.

            -certfile can be used for adding additional certificates to the store.

            For example CA certificates chain of the app_cert.pem:

            Source https://stackoverflow.com/questions/52066451

            QUESTION

            Can we publish an existing github repo as nuget package?
            Asked 2018-Apr-14 at 00:50

            I would like to use this library:

            https://github.com/geeklearningio/PushSharp-Core

            But I have no idea how turn this into nuget package or to include it in my existing .NET Core 1.1 app. I need to version specifically.

            ...

            ANSWER

            Answered 2018-Apr-14 at 00:50

            That package already exists on nuget, https://www.nuget.org/packages/PushSharp

            But otherwise you could use appveyor to do what you're asking https://www.appveyor.com/docs/nuget/

            EDIT: If you don't own the github project/fork, you can fork it yourself and then use appveyor to create a nuget package from that.

            Otherwise you can create your own nuget package manually https://docs.microsoft.com/en-us/nuget/create-packages/creating-a-package

            Source https://stackoverflow.com/questions/49826730

            QUESTION

            Does Azure provide a service like pubnub and pusher?
            Asked 2018-Mar-21 at 15:13

            I'd like to know if Azure has a service similar to pubnub and pusher. I know I can use SignalR to provide real-time communication between the back and front end and Notification Hub to push to apps, but I'd like a more comprehensive solution like pubnub/pusher. For instance, pubnub has clients for mobile AND web apps.

            Could anyone shed some light here?

            In case it helps, here's my setup:

            So I have a server that notifies the iOS and Android apps, as well as the web app. Currently I'm using PushSharp to send push notifications to the apps and SignalR to send messages to the web app. I also use SignalR on my mobile apps.

            Even though it's working I'd like a complete solution like pubnub. So does Azure provide such a service?

            ...

            ANSWER

            Answered 2017-Mar-17 at 15:42

            This will be a short reply to your post. The answer is "No". :-)

            You are currently using the best approach by combining push notifications to your mobile apps, and SignalR for your web app. There is no current Azure service offering that will allow you to send realtime notifications to both.

            Source: Azure nerd and also have a situation exactly like yours where our team has to push notifications to Android, iOS, and connected web clients.

            Source https://stackoverflow.com/questions/42861245

            QUESTION

            OnMessageReceived is not invoked
            Asked 2017-Dec-13 at 09:27

            I am trying to get to work with xamarin notifications. For android I have followed these steps: https://developers.google.com/cloud-messaging/android/client for the client side to show the notification. On my server side I am using pushSharp plugin and everything is looks to work fine since the message from the server side is sent. The problem is that I don't get the notification on my phone. My app just crushes when I'm in debug mode or sometimes times it crushes when the app is in background too. As I can see this method :

            ...

            ANSWER

            Answered 2017-Dec-13 at 09:07

            You could read the Xamarin official document Xamarin Google Cloud Messaging :

            https://developer.xamarin.com/guides/android/application_fundamentals/notifications/remote-notifications-with-gcm/

            Here is the sample about the above document :

            https://developer.xamarin.com/samples/monodroid/RemoteNotifications/

            Also, please make sure Google Play Services is available in your device.

            Update :

            Please try to add the service attribute like this :

            Source https://stackoverflow.com/questions/47778045

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install PushSharp

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Redth/PushSharp.git

          • CLI

            gh repo clone Redth/PushSharp

          • sshUrl

            git@github.com:Redth/PushSharp.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link