Introducing a seamless framework plugin for Firebase Cloud Messaging (FCM) for Android and iOS developers, to send push notifications globally.
This FCM Plugin for WordPress is designed to simplify the integration of push notifications to all Android and iOS devices. With ease of use in mind, here’s what you can achieve:
Easy Integration:
REST API Endpoints for Device Management:
rest_api_key
, device_uuid
, device_token
, etc., to manage subscriptions.Customizable Notifications:
Open Source & Free: Modify and use without any cost.
Make sure to have a Firebase project and your Firebase Server (API) key before using the plugin. Don’t miss out on important updates, try our FCM push notification plugin today!
https://example.domain/wp-json/fcm/pn/subscribe
Parameters:
– rest_api_key
(required): Unique site key from plugin settings.
– device_uuid
(required): Device’s unique ID.
– device_token
(required): Device’s token.
– subscription
(required): Category name for device registration.
– device_name
(optional): Name of the device.
– os_version
(optional): Operating system version.
Returns JSON:
{ "error": false, "message": "Device token registered", "subscription_id": 123 }
Unsubscribe device:
https://example.domain/wp-json/fcm/pn/unsubscribe
Parameters:
rest_api_key
(required): Unique site key from plugin settings.device_uuid
(required): Device’s unique ID.Returns JSON:
{ "error": false, "message": "The device token was successfully removed" }
This plugin is available as open-source and free of charge, allowing seamless integration with any WordPress setup and offering the flexibility for customization to meet specific needs.1. Preparation for Use:
– Prior to activating the plugin, it’s essential to establish a Firebase project and obtain the corresponding Firebase Server (API) key. This setup links your WordPress site to Firebase, enabling the key functionalities of the plugin.
Unique Site Key Requirement:
Content-Type Selection for Notifications:
Device Management via REST API Endpoints:
Cross-Platform Compatibility:
Category-Specific Notification Delivery:
Registration Verification Before Notification:
Compatibility with Latest WordPress Version:
Customizable Open-Source Software:
/wp-content/plugins/
directory, or install through the WordPress plugins screen.Select the types of posts for notifications.To install the “Push Notification FCM” plugin via the WordPress admin dashboard, follow these steps to enable push notifications for your website:
Log In: Access your WordPress site with administrator credentials.
Note: Prior to installation, please ensure that the plugin is compatible with your specific version of WordPress. Compatibility information is vital for smooth integration and optimal performance.
The “Push Notification FCM” plugin is a free and open-source tool designed for WordPress, enabling website owners to send push notifications to Android and iOS devices worldwide. Utilizing Firebase Cloud Messaging (FCM), it simplifies integration, allowing administrators to select specific post types for notifications, and manage device registration and deregistration via REST API endpoints. The plugin ensures compatibility with both Android and iOS, and its open-source nature allows for customization as per individual requirements. It offers a seamless way to keep users informed about new articles or updates and can be installed and configured directly from the WordPress dashboard.
Installing the “Push Notification FCM” plugin is a straightforward process, and it can be done in one of two ways:
From WordPress Plugin Repository: Download the plugin directly from the WordPress plugin repository.
Upload Via Dashboard: Alternatively, you can upload it to your WordPress site via the “Plugins” section within the WordPress dashboard.
Configuration Steps:
With these steps completed, your site is now equipped to send push notifications via the “Push Notification FCM” plugin.
The “Push Notification FCM” plugin provides two REST API endpoints:
These endpoints facilitate the management of device subscriptions for receiving push notifications.
Yes, the plugin is a free and open-source software, which means that it can be used in any WordPress installation without any cost and can be modified as per the requirement.
You can subscribe or unsubscribe devices for push notifications using the REST API endpoints provided by the plugin. The endpoints require specific parameters, such as the device’s unique identification (ID) and token, as well as a unique generated site key provided by the plugin.