=== All push notification for WP === Contributors: gtlwpdev Tags: push, notification, mobile, android, ios, app, push notification , Google Cloud Messaging , GCM , gcm , Firebase Cloud Messaging , FCM , fcm , Android , android , ios , IOS , new post page , new comment , post published Requires at least: 3.5 Tested up to: 4.6 Stable tag: 1.3 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html Send push notifications to iOS and Android devices for free, no separate third-party server integration required. == Description == All push notifications for WP is useful plugin to send push notification to iOS and Android devices using WordPress integration.User can send push notifications to iOS and Android with custom Editor from wp-admin and even When admin publish a new post/page and even new comment is added to any post. = Key Features = All push notifications for WP supports following environments: * Apple Push Notification service (APNs) * Google Cloud Messaging (GCM) * Firebase Cloud Messaging (FCM) By using this plugin you can: 1. Send push notification to WordPress users selectively. 2. Send push notification to users when new post is published or when new comment is added to the post (administrator user) = Important note = To send push notification to android devices, you will need API Key from Google GCM plateform. To send push notification to ios devices, you will need pem certification file from Apple APNs. From the device app, it is required to send additional headers information so that device is recognized by Google Cloud Messaging (GCM) and Apple Push Notification service (APNs) Following headers are required: 1. `device_token`: It will be the unique identifier provided by operating system to device. 2. `os_type`: The type of device os - Use `android` for Android and `ios` for iOS devices. == Installation == = Minimum Requirements = * WordPress 3.8 or greater * PHP version 5.2.4 or greater * MySQL version 5.0 or greater 1. Download "All push notification for WP" as zip file from the plugin download link. 2. Extract the zip file and upload 'all-push-notifications-for-wp' to `/wp-content/plugins/` directory 3. Activate the plugin from admin panel plugin listing screen. 4. You can now configure plugin from setting screen which appears in admin menu. == Frequently Asked Questions == Que - How to pass os_type (operating systm type [android / ios]) and device_token (mobile unique token) parameters in plugin? Ans - The os_type and device_token parameters need to be passed as Request headers in your login API, as well as in your register and update use API. You can check the below link for how to pass the parameters in request headers from android app. http://code.tutsplus.com/tutorials/http-headers-for-dummies--net-8039 http://stackoverflow.com/questions/16793647/how-to-set-request-header-for-sending-data-from-android-apps-to-our-server When android developer call for login API, register API and update user API for your Application, He/She must pass the os_type and device_token parameters in API request headers always. As because the user's device token may vary as per his mobile devices . Once you passed those request headers in your API you can then check in your database that in 'all_pushnotification_token' Table the device token and os type has automatically inserted. Example: os_type='android' device_token='abcd123456' ** Do you have questions or issues with All push notification for WP? you can send them to gtl.wpdev@gmail.com If you are using the plugin and found it to be useful in your projects, We would urge you to give us rating and review, it will help us making plugin more effective with future releases. == Screenshots == 1. Admin Settings screen. 2. Admin Send push notification manually. 3. List of Sent Items in Admin Panel. == Changelog == = 1.3 = * Issue fixings. = 1.2 = * Bug Fix: In login, device token was not getting updated - Which is solved now. = 1.1 = * Added plugin support for Firebase Cloud Messaging(FCM) , On deactivation All the settings will be removed , On delete the plugin tables and all settigns will drop. * Fixed redirection issue of setting page. * Updated custom and default message when User send notifiction via Custom message , add/edit post or page. = 1.0 = * First public release. == Upgrade Notice == = 1.3 = * Issue fixings. == Translations == * English - default, always included