flutter_foreground_task
flutter_foreground_task copied to clipboard
Swift Compiler Error (Xcode): Cannot find type 'CallkitIncomingAppDelegate' in scope
Dears, Thanks for your great work.
I have a problem with IOS
It gives this error message
Swift Compiler Error (Xcode): Cannot find type 'CallkitIncomingAppDelegate' in scope
in AppDelegate.swift
{
GeneratedPluginRegistrant.register(with: self)
SwiftFlutterForegroundTaskPlugin.setPluginRegistrantCallback(registerPlugins) ///Here
.......
}
func registerPlugins(registry: FlutterPluginRegistry) {
GeneratedPluginRegistrant.register(with: registry)
}
I have made as docs:
Declare the import statement below in the ios/Runner/Runner-Bridging-Header.h file.
#import <flutter_foreground_task/FlutterForegroundTaskPlugin.h>
Any help? Thanks in advance