Questions tagged [pushsharp]

It is a server-side library for sending Push Notifications to iOS/OSX (APNS), Android (GCM) and Windows (WNS).

PushSharp is a server-side library for sending Push Notifications to iOS/OSX (APNS), Android (GCM) and Windows (WNS).

261 questions
3
votes
4 answers

Android push notifications not being received when app closed

I followed the example in the PushSharp repository at: PushSharp Android Client Sample Everything is working great if the app is open or in the background (by hitting home or back button). If I close the app by swiping it away in the application…
jdehlin
  • 10,909
  • 3
  • 22
  • 33
3
votes
1 answer

Pushsharp apple notification A call to SSPI failed error

I am using PushSharp to send Apple Push Notification in C# , i have my production .pem file and its password. Below is my code snippet.Am always getting this error .. "A call to SSPI failed, see inner exception. --->…
ramesh
  • 4,008
  • 13
  • 72
  • 117
3
votes
1 answer

How to check if an event has fired?

I have trouble with the implementation of my code. I'm currently using the PushSharp library and one of the things I'd like to do is if the event triggers, I would like to return a true or false value depending on what event it is. Here is the…
user2094139
  • 327
  • 8
  • 23
3
votes
1 answer

PushSharp's StopAllServices() hangs as Windows Service

I am trying to get PushSharp (2.0.4.0?) to run as a Windows Service. Each time the service runs and performs a push.QueueNotification(), the applet hangs on the call to stopAPNS(push). When I run similar code as a Console applications, it runs…
Steve
  • 927
  • 3
  • 10
  • 23
3
votes
1 answer

APNS PushSharp Not working in Production

I am using APNS Sharp for sending push notification in IOS. I have successfully used that in development environment. But when app is live it no longer working. I have changed the push certificate to the Deployment certificate. And changed the code…
Zach
  • 9,989
  • 19
  • 70
  • 107
3
votes
1 answer

Pushsharp connection failure

So I am using push sharp inside of my ASP.NET mvc application and I keep getting a connection failure error. I installed the NUGET package for push sharp so I don't have access to the source code. It took me a while to realize I was getting this…
Ken
  • 133
  • 1
  • 3
  • 13
3
votes
1 answer

PushSharp Push doesn't process queue until stop

PushSharp only processes the queue when stop is called. Does anyone have an idea how often push sharp will process the queue or flush it? I don't want to have to call stop and start every time I want to send a notification to conserve resources. …
chrislhardin
  • 1,747
  • 1
  • 28
  • 44
2
votes
1 answer

Apple Wallet/Passbook notifications would not deliver

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…
2
votes
2 answers

PushSharp's notification to Apple generate temp RSA files on server

I'm having a problem with my WCF push notification service. Every time it sends a push notification to apple, a new RSA is generated inside the "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys" folder. I think that the problem causing this might be…
2
votes
0 answers

Xamarin forms push notifications on android replace previous messages

I have added on my Xamarin.Forms project the plug-in Xam.Plugin.PushNotification to display notifications and it's working fine. On my back-end system I have implemented PushSharp to send notification which is working fine. The only problem I have…
2
votes
0 answers

PushSharp - Singleton or not

I have used PushSharp v 2 before but want to update to v 4. I wonder if singleton really is best practise in my case. Current workflow: I have a job that starts every minute and checks if there are new notifications to send. PushSharp v.4 has…
Henke
  • 99
  • 8
2
votes
0 answers

Queue a list of notifications at once

My program uses PushSharp to send Apple and GCM push notifications to a list of recipients. I simply loop through all recipients and use the usual QueueNotification for sending the Push: Code for iOS push: var appleBroker = new…
disasterkid
  • 6,948
  • 25
  • 94
  • 179
2
votes
1 answer

What is AUTH-TOKEN for the Google Cloud Messaging(GCM)?

I have found library PushSharp for asp.net MVC 5 and a sample for using GCM. var config = new GcmConfiguration ("GCM-SENDER-ID", "AUTH-TOKEN", null); As I understood GCM-SENDER-ID is App ID from goodle console. But what is AUTH-TOKEN? I tried to…
ruticker
  • 21
  • 1
2
votes
1 answer

Windows Push notification via pushsharp fails after app reinstall - Device Subscription Expired

PushSharp version : Version 2.2.1 Issue Description I am using pushsharp to send push notifications to windows phone app 8.1. I installed the app on a windows phone and got a channel URI. Using the same channel URI the push notification worked for…
2
votes
0 answers

How to get device token for iOs and regisration ID for andorid for push notification?

I am using pushSharp library. I see deviceToken in sample code https://github.com/Redth/PushSharp Can anybody help me how to get that ? pushSharp sample code doesn't explain that apnsBroker.QueueNotification (new ApnsNotification { …