Overview
The wp_notify package enables Flutter apps to receive push notifications from WordPress via Firebase Cloud Messaging (FCM). It automatically registers the device's FCM token with WordPress, allowing seamless two-way communication. Developers can assign FCM tokens to WordPress users and send targeted notifications to Android and iOS devices using the WordPress API. The package supports cross-platform deployment on Android, iOS, and macOS, making it ideal for integrating native push functionality into WordPress-powered apps. It simplifies the setup process by handling token synchronization and notification delivery.
Use cases
- Sending app notifications from WordPress admin
- User-specific push alerts in Flutter apps
- Real-time updates for mobile clients
- Cross-platform notification delivery
- Automated FCM token registration
Key features
- Automatic FCM token sync with WordPress
- Support for Android and iOS devices
- Integration with WordPress REST API
- Token assignment per WordPress user
- Cross-platform compatibility (Android, iOS, macOS)
Suitable for
- WordPress-based mobile apps
- Apps requiring real-time notifications
- Developers using Firebase with WordPress
- Projects needing automated token management
- Multi-device notification systems
Considerations
- Requires WordPress plugin for backend support
- Needs proper FCM configuration in Firebase
- Backend API must be accessible
- iOS requires additional setup for background notifications
- Network connectivity required for token registration