Skip to content

Commit 232f4bb

Browse files
Do not show pending silent notifications.
1 parent 684839d commit 232f4bb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sdk/Notifo.SDK/NotifoMobilePush/NotifoMobilePushImplementation.ios.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ public async Task DidReceivePullRefreshRequestAsync()
5757
var eventArgs = new NotificationEventArgs(notification);
5858
OnReceived(eventArgs);
5959

60+
if (notification.Silent)
61+
{
62+
continue;
63+
}
64+
6065
await ShowLocalNotificationAsync(notification);
6166
}
6267

0 commit comments

Comments
 (0)