Migliorata gestione e visualizzazione notifiche
This commit is contained in:
@@ -22,7 +22,8 @@ using salesbook.Shared.Core.Messages.Activity.Copy;
|
||||
using salesbook.Shared.Core.Messages.Activity.New;
|
||||
using salesbook.Shared.Core.Messages.Back;
|
||||
using salesbook.Shared.Core.Messages.Contact;
|
||||
using salesbook.Shared.Core.Messages.Notification;
|
||||
using salesbook.Shared.Core.Messages.Notification.Loaded;
|
||||
using salesbook.Shared.Core.Messages.Notification.NewPush;
|
||||
using salesbook.Shared.Core.Services;
|
||||
using Shiny;
|
||||
|
||||
@@ -81,8 +82,9 @@ namespace salesbook.Maui
|
||||
builder.Services.AddSingleton<BackNavigationService>();
|
||||
builder.Services.AddSingleton<CopyActivityService>();
|
||||
builder.Services.AddSingleton<NewContactService>();
|
||||
builder.Services.AddSingleton<NotificationsLoadedService>();
|
||||
builder.Services.AddSingleton<NewPushNotificationService>();
|
||||
|
||||
|
||||
//Notification
|
||||
builder.Services.AddNotifications();
|
||||
builder.Services.AddPush<PushNotificationDelegate>();
|
||||
@@ -90,6 +92,7 @@ namespace salesbook.Maui
|
||||
builder.Services.AddSingleton<IIntegryNotificationRestClient, IntegryNotificationRestClient>();
|
||||
builder.Services.AddSingleton<IFirebaseNotificationService, FirebaseNotificationService>();
|
||||
builder.Services.AddSingleton<IShinyNotificationManager, ShinyNotificationManager>();
|
||||
builder.Services.AddSingleton<INotificationService, NotificationService>();
|
||||
|
||||
#if DEBUG
|
||||
builder.Services.AddBlazorWebViewDeveloperTools();
|
||||
|
||||
Reference in New Issue
Block a user