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

When one PushSharp message fails, they all fail

I'm using the Push Sharp library to send push notifications to the Apple APN server. The code works great, I can send 1000s of notifications. The problem is, if I attempt to send a notification with an invalid device token I receive a failure…
user3335999
  • 363
  • 1
  • 2
  • 14
5
votes
1 answer

How to implment a GCM Server in C# that supports CCS

I'm trying to write a 3rd party server application for sending and receiving notifications from Android devices using GCM's CCS as outlined here. I'm leveraging PushSharp for handling the sending of notifications from my server app, but I can't seem…
Duck Jones
  • 360
  • 1
  • 4
  • 13
5
votes
1 answer

Using PushSharp with multiple apple channels

I am new to PushSharp and trying to understand how to use it. I have a situation where I have different versions of an apple app. E.g.: MyApp, MyAppHD, MyAppPremium, MyAppPremiumHD. I have differernt bundle identifiers for these and 4 different push…
Amit
  • 121
  • 5
4
votes
3 answers

PushSharp APNS notification error The function requested is not supported

I'm using PushSharp 4.0.10 In the OnNotificationFailed event of the Apns broker, I get "The function requested is not supported" exception. There is my Broker creator private static ApnsServiceBroker CreateApnsBroker(string certificate) { //…
Igor. A
  • 53
  • 7
4
votes
2 answers

PushSharp - GCM Authorization Failed

Using v4.0.10 of Pushsharp (nuget package), I am getting error GCM Authorization Failed when sending push notifications to Android devices. Seems the bug raised in issue 574 (https://github.com/Redth/PushSharp/issues/574 ) has been compiled into the…
4
votes
3 answers

Pushsharp 4.0 with Firebase

After reading lot of post I could not find a complete example how to send GCM push notifications using Pushsharp 4.0 with Firebase. Lot of examples with PushSharp are using the old Google cloud messaging, not Firebase and/or the old PushSharp…
Stefano
  • 200
  • 3
  • 14
4
votes
1 answer

sending passbook update with pushsharp

I'm trying to test talking to apple's push notification sandbox server. I made a certificate following this link (enabled push notification, requested certificate authority, uploaded, generated cert, export p12) I made a sample C# console…
prawn
  • 2,443
  • 2
  • 23
  • 46
4
votes
1 answer

Apple Push Notification reliablity

The topic I want to discuss may be a duplicate of this question. But still I've a few queries regarding Apple Push Notifications. I have one app supported on both Android and iOS. The app needs a background service which hits a remote server every…
4
votes
2 answers

Push Sharp Within Asp.Net Web Service

This is more of a general Asp.Net / .Net lifecycle question. I'm looking at using PushSharp within a Asp.Net Web Service to send notifications using APNS. Given the nature of PushSharp using a queue to async send messages and then event callbacks…
Lukie
  • 865
  • 1
  • 11
  • 19
4
votes
2 answers

how to validate Apple APN device token - WCF .NET

I am building a WCF REST web service that is called by the mobile app to insert the Apple device Token into the database. I would like to validate a device token before inserting into the database. Is there anyway to validate a device token to know…
4
votes
1 answer

PushSharp ASP.net MVC4 on Azure woes. - Can't connect to APNS feedback service

I have an ASP.Net MVC4 website running a simple web service on Azure to provide a Push Notification service for our mobile app. It works when run on a local IIS instance on my machine but once deployed to Azure it works for a while then stops. It…
Felix
  • 1,302
  • 1
  • 11
  • 24
4
votes
1 answer

Do PushSharp notifications always raise the "NotificationSent" or "NotificationFailed" events

I am implementing an Apple notification push service and am processing an internal queue. I would like to know if PushSharp notifications always raise the "NotificationSent" or "NotificationFailed" events (one or the other - at least one of…
Eli Perpinyal
  • 1,596
  • 3
  • 17
  • 34
4
votes
0 answers

PushSharp sends some notifications, but not all

I am using the PushSharp library to send Apple Push Notifications. For some reason, the devices are only getting some of the notifications that I push. For instance, if I push 5 notifications to one device, it may only receive 3. I am using the…
lehn0058
  • 19,077
  • 14
  • 65
  • 107
4
votes
1 answer

PushSharp WithCustomItem fails to send

I have Android and Apple push notifications working with PushSharp, but I'm having trouble sending custom data with the Apple notifications. This sends perfectly: push.QueueNotification(new AppleNotification() …
jdehlin
  • 8,485
  • 3
  • 18
  • 33
4
votes
1 answer

PushSharp APNS Feedback Service Example

We have implemented PushSharp for sending push notifications to our enterprise iOS devices. This is being sent from a Windows machine and we customized the PushSharp code to be called from a console app which is scheduled to run every minute…
user1627842
1
2
3
17 18