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:
- Send push notification to WordPress users selectively.
- 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 platform.
To send push notification to ios devices, you will need pem certification file from Apple APNs.
For registering any device / user for push noficiation, it is required to integrate 'register' api in mobile application. Register API is part of the plugin only i.e. it is not third party API. It also means that all device token data is maintained in your wordpress application database only. Its basic use is to gather device token of respective iOS and Android devices so that push notifications can be sent from wordpress. More details about the same has been given in FAQ section.
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:
device_token
: It will be the unique identifier provided by operating system to device.
os_type
: The type of device os - Use android
for Android and ios
for iOS devices.