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
61
votes
6 answers

How to use Push Notifications in Xamarin Forms

I have an app using Xamarin.Forms targeting IOS, Android and WP 8. I need push notification feature in my app. I have seen the pushsharp demos and it seems promising. But all the codes I have seen are done separately for each platform. I would…
Rohit Vipin Mathews
  • 10,853
  • 15
  • 49
  • 100
29
votes
6 answers

PushSharp APNS production: The credentials supplied to the package were not recognized (development works fine though)

My app just got ready for sale on App Store, but none of my production devices (devices that have installed the app from App Store) are getting push notifications. When I try to send a push notification to a production device, I am getting this…
25
votes
1 answer

Maximum number of Send Attempts

I am using PushSharp v2.0.4. I have a push notification service (i.e., Windows Service) that sends out notifications every minute. The load on the service is quite small. At most, I will send four notification per run. When my service starts, it…
Steve
  • 885
  • 1
  • 10
  • 22
14
votes
2 answers

Push Notifications with PushSharp - the basics

I need to push notifications to tens of thousands of iOS devices that my app installed. I'm trying to do it with PushSharp, but I'm missing some fundamental concepts here. At first I tried to actually run this in a Windows service, but couldn't…
Kon
  • 25,664
  • 11
  • 56
  • 84
12
votes
1 answer

Invalid DeviceToken Length when sending passkit push by PushSharp

I try to use PushSharp in an Apple passkit related project. My current problem is about passkit pushes. When I try to create my notification, it says device tokent length is invalid (exact exception message: Invalid DeviceToken Length. var notif…
Tom
  • 3,349
  • 20
  • 73
  • 131
12
votes
9 answers

APN Production certificate not being recognized by PushSharp

I've developed an iOS app, that receives Push Notifications. I'm sending them from a .NET environment using PushSharp. Everything went beautifully while developing, and the Pushs were successfully sent: var push = new PushBroker(); var appleCert =…
LcSalazar
  • 15,390
  • 3
  • 29
  • 62
12
votes
2 answers

PushSharp Apple - The message received was unexpected or badly formatted

I am using version 2.1.2 of PushSharp. The app is .NET 4.5.1 (although I have also tried targeting .NET 4.5 and .NET 4) I am trying but not succeeding to send push messages through the sandbox Apple APNS. I am successfully sending messages using…
bean
  • 951
  • 1
  • 10
  • 22
9
votes
1 answer

Pushsharp support of Apple Push Notification Authentication Key

Does pushsharp supports a new Apple approach for sending APN using Apple Push Notification Authentication Key (which never expires) instead of using Certificates? Is any way to use it with pushsharp? If not, is there any other C# library to support…
Mike Keskinov
  • 10,359
  • 5
  • 53
  • 73
9
votes
1 answer

What is the right way to use PushSharp?

I use PushSharp to send notifications for a few Apps. PushSharp is great it really simplifies the work with push services, and I wonder what is the right way to work with it? I haven't found examples/ explanations about that. Now, when I have a…
gilp
  • 551
  • 1
  • 6
  • 19
7
votes
1 answer

PushSharp doesn't send notifications

I have got a simple code: PushBroker pushBroker = new PushBroker(); string path = HttpContext.Current.Server.MapPath("~/" + AppSettings.CertificatePath); var appleCert = File.ReadAllBytes(path); pushBroker.RegisterAppleService( …
Neshta
  • 2,277
  • 2
  • 24
  • 37
6
votes
1 answer

ngCordova/Ionic Push Notifications when application is in the background

I'm currently building an android application using ionic/ngcordova. I'm at the point of implementing push notifications. I've implemented push notifications as a service which is injected at app.run(function(){..}) stage. The registration part…
6
votes
2 answers

How to send APNS push notification (iOS) from C# without queuing

It seems everyone uses PushSharp for sending push notifications to iOS devices from C#. But that library has a queue it uses instead of sending the notification directly, which then means you need a Windows Service or something to host it properly…
Andrew Arnott
  • 74,820
  • 24
  • 127
  • 163
5
votes
2 answers

PushSharp Apns notification error: 'ConnectionError'

I'm using PushSharp 4.0.10, MVC 4 with c# In the OnNotificationFailed event of the Apns broker, I get ConnectionError exception. This exception happened suddenly after change certificate(.p12) file; and it worked fine before this change. Please…
Masoud Abedi
  • 51
  • 1
  • 5
5
votes
0 answers

Pushsharp 4.0.10 "Connection Error" for IOS device tokens

I developed windows service for sending push notifications to both iOS and Android apps using pushsharp library. Recently I updated the library from 2.x.x to 4.0.10 and GCM notifications are sending fine but Ios notifications are not sending, always…
sailaja m
  • 129
  • 1
  • 5
5
votes
2 answers

Apple push notification get an error Authentication failed because the remote party has closed the transport stream

I get the follwoing error "Authentication failed because the remote party has closed the transport stream" after the ling code: stream.AuthenticateAsClient(this.appleSettings.Host, this.certificates, System.Security.Authentication.SslProtocols.Ssl3,…
Ortal Blumenfeld Lagziel
  • 2,017
  • 3
  • 19
  • 30
1
2 3
17 18