feat: add persistent mobile notifications
CI / 🧪 Tests Laravel (push) Successful in 2m7s
CI / 🐳 Build & Push Image (push) Successful in 42s

This commit is contained in:
2026-08-11 16:46:05 +02:00
parent bd1b4bba20
commit df4f523089
24 changed files with 822 additions and 75 deletions
@@ -0,0 +1,23 @@
<?php
namespace App\Notifications;
use App\Services\MobileDeepLink;
class PaymentFailedNotification extends MobileNotification
{
protected function category(): string
{
return self::CATEGORY_ACCOUNT;
}
protected function payload(object $notifiable): array
{
return [
'type' => 'payment_failed',
'title' => __('api.notifications.payment_failed_title'),
'body' => __('api.notifications.payment_failed_body'),
'url' => MobileDeepLink::to('profile/settings/billing'),
];
}
}