[94] support BG on iOS

This commit is contained in:
kanat
2023-05-18 10:31:36 -07:00
parent 427cd9de83
commit 1b24943f9a
4 changed files with 73 additions and 33 deletions
@@ -74,3 +74,8 @@ void showLocalNotification(
payload: '${event.channelType}:${event.channelId}',
);
}
Future<void> cancelLocalNotifications() async {
final flutterLocalNotificationsPlugin = FlutterLocalNotificationsPlugin();
await flutterLocalNotificationsPlugin.cancelAll();
}