-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Labels
from.page-issueReported in a reader-filed concernReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.Necessary but not urgent concern. Resolve when possible.
Description
Page URL
https://docs.flutter.dev/release/breaking-changes/uiscenedelegate
Page source
Describe the problem
According to the code preview here:
https://docs.flutter.dev/release/breaking-changes/uiscenedelegate#migrate-appdelegate
The didInitializeImplicitFlutterEngine addition should be inside @objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate { block, and not ouside.
Expected fix
@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) {
GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry)
}
}
Additional context
No response
I would like to fix this problem.
- I will try and fix this problem on docs.flutter.dev.
Metadata
Metadata
Assignees
Labels
from.page-issueReported in a reader-filed concernReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.Necessary but not urgent concern. Resolve when possible.