by Rizwan Abbasi on WordPress.org
Professional WordPress plugin for sending Firebase Cloud Messaging (FCM) push notifications to Android apps with advanced targeting and analytics.
Topic-Based Push Notifications for Firebase enables you to send push notifications from your WordPress admin panel directly to Android mobile applications using Firebase Cloud Messaging (FCM). Perfect for apps that need to notify users about new content, updates, or important announcements.
This plugin connects to Google’s Firebase services to send push notifications to mobile applications. External service connections are required for the plugin’s core functionality.
Google OAuth API (oauth2.googleapis.com)
* Purpose: Authentication with Firebase Cloud Messaging service
* Data sent: Service account credentials (from your uploaded JSON file), authentication tokens
* When: Every time notifications are sent (to obtain access tokens)
* Terms of Service: https://developers.google.com/terms
* Privacy Policy: https://policies.google.com/privacy
Firebase Cloud Messaging API (fcm.googleapis.com)
* Purpose: Sending push notifications to Android mobile applications
* Data sent: Notification content (title, message, image URLs, links), target topics, FCM project ID
* When: When you send notifications through the plugin interface
* Terms of Service: https://firebase.google.com/terms
* Privacy Policy: https://policies.google.com/privacy
This plugin processes notification data locally on your WordPress installation. Notifications are sent directly to Google’s Firebase Cloud Messaging service.
No user data is collected or sent to services other than Google/Firebase for notification delivery. Your Firebase service account credentials are stored securely on your server.
The plugin includes hooks and filters for developers to extend functionality:
tbpn_before_send_notification – Filter notification data before sendingtbpn_after_send_notification – Action after notification is senttbpn_notification_response – Filter FCM response dataThe plugin creates a secure upload directory for Firebase service account files. Ensure your WordPress uploads directory is writable.
The plugin creates two tables:
* wp_tbpn_notifications – Stores notification history and analytics
* wp_tbpn_engagements – Tracks user engagement with notifications
POST /wp-json/mn/v1/engage – Report notification engagement (for mobile apps)Actions:
* tbpn_notification_sent – Triggered after notification is sent
* tbpn_notification_failed – Triggered when notification sending fails
* tbpn_engagement_recorded – Triggered when engagement is recorded
Filters:
* tbpn_notification_data – Filter notification data before sending
* tbpn_topics_list – Filter available topics
* tbpn_max_notifications_per_hour – Filter rate limiting
For support, feature requests, or bug reports, please use the WordPress.org support forums.
For documentation and updates, visit the plugin homepage.
This plugin is open source. Contributions, bug reports, and feature requests are welcome on the plugin’s development repository.