fix filters

This commit is contained in:
55nknown
2022-11-02 08:06:15 +01:00
parent b8299c4daf
commit eac710a5b4
5 changed files with 11 additions and 24 deletions

View File

@@ -10,7 +10,7 @@ import Flutter
GeneratedPluginRegistrant.register(with: self)
// here, Without this code the task will not work.
SwiftFlutterForegroundTaskPlugin.setPluginRegistrantCallback(registerPlugins)
//SwiftFlutterForegroundTaskPlugin.setPluginRegistrantCallback(registerPlugins)
if #available(iOS 10.0, *) {
UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
}
@@ -22,4 +22,4 @@ import Flutter
// here
func registerPlugins(registry: FlutterPluginRegistry) {
GeneratedPluginRegistrant.register(with: registry)
}
}

View File

@@ -1,2 +1 @@
#import "GeneratedPluginRegistrant.h"
#import <flutter_foreground_task/FlutterForegroundTaskPlugin.h>