[94] support BG on iOS
This commit is contained in:
@@ -74,3 +74,8 @@ void showLocalNotification(
|
||||
payload: '${event.channelType}:${event.channelId}',
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> cancelLocalNotifications() async {
|
||||
final flutterLocalNotificationsPlugin = FlutterLocalNotificationsPlugin();
|
||||
await flutterLocalNotificationsPlugin.cancelAll();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user