Posts Tagged ‘Push Notification’

iOS Push Notifications in C# with apns-sharp

November 28, 2010

I just recently set up push notification in an iOS application for the first time. The back-end is implemented in C# and searching the web for existing solutions i came across “apns-sharp” (http://code.google.com/p/apns-sharp/). “apns” is short for Apple Push Notification Service and the library, as you would expect, provides a C# api for sending iOS push notifications. The library also contains an api for Apple’s Feedback service for – a service used to retrieve push tokens that are no longer valid, so as to be able to clean up subscribtions.

Initially i got things working on my dev setup without hardly any effort. I then proceeded to publish the project to by budget webhost http://www.web10.dk and suddenly I wasn’t receiving notifications anymore. It took me quite some time to figure out what was wrong…

(more…)

Advertisements