FlutterAppLifeCycleProvider
@protocol FlutterAppLifeCycleProvider <UNUserNotificationCenterDelegate>
Implement this in the UIAppDelegate of your app to enable Flutter plugins to register
themselves to the application life cycle events.
For plugins to receive events from UNUserNotificationCenter, register this as the
UNUserNotificationCenterDelegate.
-
Called when registering a new
FlutterApplicaitonLifeCycleDelegate.See also:
-[FlutterAppDelegate addApplicationLifeCycleDelegate:]Declaration
Objective-C
- (void)addApplicationLifeCycleDelegate: (nonnull NSObject<FlutterApplicationLifeCycleDelegate> *)delegate;
View on GitHub
Install in Dash
FlutterAppLifeCycleProvider Protocol Reference