=== Plugin Name === Contributors: ludovicl Tags: apn, apns, easyapns, apple, push, notification, iphone, ipad, alert, message, development, developer, appcelerator, xcode Requires at least: 2.1.0 Tested up to: 3.1.1 Stable tag: trunk Adaptation of the Easy APNs open source project for WordPress. EasyAPNs is a tool to simplify interaction with the Apple Push Notification Service. == Description == **EasyAPNs** for WordPress is an adaptation of the Easy APNs open source project, developed by **Ludovic Lecerf**. The original project authors is **Manifest Interactive**. EasyAPNs is a tool to simplify interaction with the Apple Push Notification Service. It works great with Apple apps such as iPhone, iPod Touch and iPad applications. This plugin is ONLY useful for Apple developers. You should use XCode or Appcelerator. How it works ? Each push message must be "addressed" to a specific device. This is achieved by using a unique device Token generated by APNS within your iPhone application. Once this token has been retrieved by EasyAPNs, it is stored in your WP database. When a post is published, the Payload (the message) is added to the queue. Every hour, the Payload will be sent to Apple Devices that were registered in the database. You don't need to configure a cron job, a WP-Cron is already active. * Possibility to process the queue immediately when a post is published * Development and production certificate management == Installation == See [Ludovic Lecerf's Blog](http://www.ludoviclecerf.com/blog/2011/04/18/apple-easyapns-pour-wordpress-un-plugin-de-notifications-push-sur-iphone-ipad) for more details (in French). ---- This section describes how to install EasyAPNs and get it working. 1. Unzip the archive and upload the `easyapns` folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Go to EasyAPNs configuration panel 4. Configure your Application Name, and your Certificates paths. To generate these Certificates, go to [BoxedIce Blog](http://blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-notification-provider-server-tutorial/) to know how to do it. **You must** put a development **and** a production certificate. If you don't want production certificate for the moment, just put the development certificate path in the configuration. 5. Don't forget to **activate Push Notifications in the right box** of the post Editor! 6. Publish the post, enjoy! **How to enable the Development Certificate ?** Just put 'sandbox' in the *wp_apns_devices . development* column, on the device you want. **How to register a device on the Application ?** Your iPhone App Delegate.m need to register for remote notifications with an url. This url must have the GET parameter (easyapns=register), it will end up looking something like: http://www.yourWordpressSite.com/index.php?easyapns=register&task=register&appname=[YOUR_APPNAME]&appversion=1.0&deviceuid=e48884a7a1fef6977cee39a3f75849be250f20e9&devicetoken=9c7508139bd468e8064fa01eab50875533427d84ec5055ce2c478de3fdgafd15&devicemodel=iPhone&devicename=tester&deviceversion=1.5&pushbadge=enabled&pushalert=enabled&pushsound=enabled You should look at the code in the *delegate/Delegate.m* file for XCode and *delegate/AppCelerator.js* for AppCelerator. If you have any questions or any problems, please let us know == Frequently Asked Questions == Any questions ? == Screenshots == 1. Page on admin area to configure EasyAPNs 2. Push Notifications activation in the post editor. It's deactivated by default. == Changelog == == Upgrade Notice == == Arbitrary section == * Version 0.94 * Bugs correction * Version 0.93 * Bugs correction * Version 0.91 * Table of devices * Possibility to assign the development certificate (sandbox) to a device. * Version 0.9 * Initial release