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
2
votes
1 answer

ISSUE With PushSharp Apple Notification From Version 4.0.10.0 To Testflight

I have created a production version .p12 file to send the notifications to iPhone and installed the app using testflight. When sending notification from my sample console app I am always getting notification sent callback, but no notification is…
Saurabh Sashank
  • 280
  • 1
  • 5
  • 18
2
votes
0 answers

PushSharp: Unable to write data to the transport connection

I'm using PushSharp 4.0.10 to send iOS push notifications but I recently noticed that the console application hosting the broker to queue notifications to around 18,000 device tokens crashes after sending some notifications getting this error…
Mahdi Taghizadeh
  • 903
  • 2
  • 10
  • 31
2
votes
1 answer

Push sharp call back is success but notification is not received ?

I am using push sharp library to send notification to IOS devices. I am using this class PushNotificationService I have registres the events that will fire after the call back is received from APNS. pushBroker.OnNotificationSent +=…
user123456
  • 2,524
  • 7
  • 30
  • 57
2
votes
1 answer

PushSharp Separation of Concerns

I'm currently working on a C# web application and I'm trying to get push notifications to work using the PushSharp package. I have all of my code for pushing notifications in the Global.asax file in my project, but I keep getting the error: The…
iHowell
  • 2,263
  • 1
  • 25
  • 49
2
votes
0 answers

not getting Pushsharp notification after new Updates by iOS

I'm trying to implement PushSharp manually sending push from my backend server with my Xamarin Project. It is working fine before Apple updated some config. P12 policy updated : https://developer.apple.com/news/?id=12172015b)? We changed our code as…
Sagar Panwala
  • 922
  • 1
  • 8
  • 23
2
votes
1 answer

Not being able to receive push notifications with new distribution certificates

I am trying to implement the push notifications to my application that is currently on the store. The old applications are working perfectly and receiving push normally with the same code on both server and app sides(OFF the sandbox). However, when…
2
votes
0 answers

IOS Push Notification : Authentication Failed

I'm getting the same error on both projects (APNS Sharp | Push Sharp) Authentication failed because remote party has closed the transport stream I've tried with changing X509Certificate to X509Certificate2 and X509CertificateCollection to…
Waqar Ahmed
  • 1,414
  • 2
  • 15
  • 35
2
votes
1 answer

How to detect if android app is open from a notification sent with PushSharp?

So I'm using PushSharp to send notification in c# to my android app : var push = new PushBroker(); push.RegisterGcmService(new GcmPushChannelSettings(androidKey) { }); push.QueueNotification( new…
Pablo Honey
  • 1,074
  • 1
  • 10
  • 23
2
votes
1 answer

APNS P12 certificate stopped working?

I am using ASP.NET server to send push notification to APNS. I am using PushSharp library. Suddenly, push notification stopped working. I got this exception, The maximum number of Send attempts to send the notification was reached I searched and…
Imran Qadir Baksh - Baloch
  • 32,612
  • 68
  • 179
  • 322
2
votes
1 answer

Apns c# exception unable to read data from the transport connection an existing connection was forcibly closed by the remote host

Im trying to send apple push notification with valid p12 and token as following: void connect() { client = new TcpClient(); //Notify we are connecting var eoc = this.OnConnecting; if (eoc !=…
Ortal Blumenfeld Lagziel
  • 2,415
  • 3
  • 23
  • 33
2
votes
2 answers

Apple Push Notifications from WebApi app

I am using PushSharp for Apple Push Notifications and it is working from console app and windows service on Windows 8 and Windows Server 2008R2, but the same code transferred to WebApi app on the same computers does not work. I've installed…
Duke Ace
  • 177
  • 1
  • 12
2
votes
1 answer

Sometimes DeviceSubscriptionExpired event is firing on not expired device ids.#PushSharp

I am sending Push notification messages from my asp.net web site to Android and iPhone.I am using push-sharp version is 2.1.2.0-beta lib.I can send push notification messages successfully and having status log for each message along with there…
Mutaherul
  • 47
  • 6
2
votes
4 answers

PushSharp - ios - StopAllServices() hangs with no errors

I am trying to send a push notification to IOS device via PushSharp. For android, it works. For IOS, the call to StopAllServices() hangs forever, without calling any exception handlers. Could the problem be that I was given a .pem certificate file,…
seguso
  • 2,024
  • 2
  • 18
  • 20
2
votes
0 answers

Shared host permission for notification using WCF Restful with PushSharp

I'm trying to send a push notification through WCF Restful web service to iOS using PushSharp. When I deploy my codes to the shared host, I get the following error. The server encountered an error processing the request. The exception message is…
2
votes
1 answer

How to stop sending notification if Device Subscription Expired - GCM PushSharp

I would like to know how can I stop sending notification to the Expired Device Subscription IDs? In my database I have Expired Device Token and at this moment I have no way to remove them. Currently my users are receiving duplicate notifications. I…