true

If you can’t directly make FlutterAppDelegate a subclass

If your app delegate can’t directly make FlutterAppDelegate a subclass,
make your app delegate implement the FlutterAppLifeCycleProvider
protocol in order to make sure your plugins receive the necessary callbacks.
Otherwise, plugins that depend on these events may have undefined behavior.

For instance:

Swift

Objective-C

import

Foundation

import

Flutter

class

AppDelegate

UIResponder

UIApplicationDelegate

FlutterAppLifeCycleProvider

ObservableObject

private

let

lifecycleDelegate

FlutterPluginAppLifeCycleDelegate

()

let

flutterEngine

FlutterEngine

name