Dynamic Notifications
Shane Rosenthal
NativePHP^4.5.0iOS18.2+AndroidNot supported (iOS only)
Dynamic Island-style in-app notifications for NativePHP Mobile on iOS 18.2+. Pure SwiftUI — no JavaScript animation engines, no third-party SDKs.
iOS only. Android is not supported.
Features
- Dynamic Island-style UI — fluid animated pill notification overlay, native SwiftUI
DynamicNotifications::show($content)— display a notification with title, message, SF Symbol, accent color, and durationDynamicNotifications::dismiss()— dismiss the current notification programmaticallyNotificationTappedevent — fires when the user taps the notificationNotificationDismissedevent — fires when the notification is dismissed (auto or manual)- Accessibility — Reduce Motion, Dynamic Type, and VoiceOver support
Installation
composer require nativephp/mobile-dynamic-notifications
php artisan native:plugin:register nativephp/mobile-dynamic-notifications
Rebuild your iOS app (php artisan native:run ios) to compile the SwiftUI code.