Local Notifications
Bifrost Technology
NativePHP^3.2.1iOS16.0+Android26+
Send, schedule, and manage local notifications in NativePHP Mobile apps. Supports immediate and delayed notifications, recurring schedules, action buttons, tap events with URL navigation, custom sounds, badge counts, and silent delivery.
Features
- Immediate and delayed notifications
- Recurring schedules (hourly, daily, weekly, monthly, yearly)
- Up to 3 action buttons per notification
- Custom sound support (.mp3, .wav, .caf, .aiff, .m4a)
- Badge count management
- Silent delivery mode
- URL navigation on tap
- Custom data payloads
- Laravel Notification Channel integration
Installation
Requires Composer credentials for the NativePHP plugin repository.
composer config repositories.nativephp-plugins composer https://plugins.nativephp.com
composer config http-basic.plugins.nativephp.com your@email.com your-license-key
composer require nativephp/mobile-local-notifications
Compatibility
| Platform | Minimum Version |
|---|---|
| NativePHP | ^3.2.1 |
| iOS | 16.0+ |
| Android | API 26+ |
Events
NotificationTapped— fires when the user interacts with a notificationPermissionGranted— fires when notification permission result is returned