ATTENTION: THIS LIBRARY IS NOW OBSOLETE / DEPRECATED!
I've recently started a new project called PushSharp. Its goal is to combine APNS-Sharp as well as C2DM-Sharp into a single project. It takes some of the same great code from APNS-Sharp, and still allows you to easily send push notifications, but it also includes an optional abstraction layer for sending notifications to multiple platforms. Please go check it out. Once PushSharp is a bit more mature, this project will be deprecated. For now I will not be adding any major new functionality to this library.
So go check out PushSharp! It's open source (under Apache 2.0), and a solid step forward for push notifications!
Apple Push Notification & Feedback Services Client C# Library
A free, open source, independent and mono compatible C#/.NET Library for interacting with Apple's Push Notification & Feedback Services for the iPhone/iPod.
- May 9, 2011 Moved project to Github!
- March 27, 2010 Updated to 18.104.22.168 with a couple bug fixes
- January 18, 2010 Added a very simple sample solution for MonoTouch that shows how implement Push Notifications in a MonoTouch? application
- December 22, 2009 Apns-Sharp now Powering G-Push Mail (New Version: 22.214.171.124)
- Push Notifications Client
- Feedback Service Client
- iTunes Receipt Verification Client
##Details This is a pretty simplistic library, but it should give all C# developers a jump start into developing for Apple's Push Notifications platform. Feel free to use it as needed.
One of the goals was to make this mono compatible, since I needed it myself to run on Debian/Mono 2.4 on Amazon's EC2 Platform. This works great on mono 2.4, I have not tested it on anything below 2.4.
I have also included a simple iTunes/AppStore Receipt Verification Library that simplifies the process for verifying the receipt data from In-App Purchases.
##Testing The code for the Apns Notifications is fairly well tested and currently in use in a production app. The code for the Feedback service should be ok, however I'm working on integrating it into my production app at this point. The AppStore? code is the least tested of all, please report any bugs you run into with this!
I would encourage you to checkout the source and use that! Please use this project page's issue tracker to send me bugs, and I will fix them!
##Contributing If you have improvements to my code, by all means let me know. If you'd like to become a contributer to the project, I'd be happy to make that happen too!
##License This code is licensed under the MIT License. Feel free to use it, abuse it, bundle it, repackage it, and make money off it! Seriously, go nuts!
##MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.