first commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
namespace Fitness_core_BE.Interfaces.Services
|
||||
{
|
||||
public interface IPushNotificationService
|
||||
{
|
||||
// Persists a CustomerNotification row (for the mobile Notification tab) and, if the
|
||||
// customer has a registered Expo push token, sends a real push too. routeName/routeParams
|
||||
// mirror the mobile app's PushNavigationData contract (pushNotification.ts) so tapping
|
||||
// either the push or the in-app list item navigates the same way.
|
||||
Task NotifyCustomerAsync(
|
||||
Guid customerId,
|
||||
string title,
|
||||
string body,
|
||||
string notificationType,
|
||||
string? routeName = null,
|
||||
object? routeParams = null);
|
||||
|
||||
Task NotifyCustomersAsync(
|
||||
IEnumerable<Guid> customerIds,
|
||||
string title,
|
||||
string body,
|
||||
string notificationType,
|
||||
string? routeName = null,
|
||||
object? routeParams = null);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user