Rich Push
Molly Klein (The Firsthand Co.)
NativePHP^4.0PHP^8.3Laravel^11|^12|^13iOS18.0+Android29+
Add images, GIFs, and video previews to push notifications. Works alongside your existing push plugin — adds a Notification Service Extension to your iOS Xcode project automatically on each build.
iOS prerequisite: Push notifications capability must be enabled for your app ID and
push_notificationsset totrueinconfig/nativephp.php.
Features
- Rich media — images on both platforms; GIFs and video on iOS
- iOS media limits — images/GIFs up to 10 MB, video up to 50 MB, audio up to 5 MB; must use HTTPS
- Graceful fallback — if media is too large, slow, or missing, the notification still arrives as plain text
- Multiple send options —
RichPush::send(), Laravel notification channel,rich-push:sendArtisan command, orRichPushMessagefor Firebase/other services - Foreground display — configurable via
RICH_PUSH_FOREGROUND:banner(default),list, ornone - Tap handling — custom data received on tap, including taps that launch a closed app
- JavaScript helpers — Vue and React with TypeScript types
Installation
composer config repositories.nativephp-plugins composer https://plugins.nativephp.com
composer config http-basic.plugins.nativephp.com your@email.com your-license-key
php artisan vendor:publish --tag=nativephp-plugins-provider
composer require firsthand/nativephp-rich-push
php artisan native:plugin:register firsthand/nativephp-rich-push
php artisan native:run