Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,11 @@ - (BOOL)application:(UIApplication *)application
#pragma mark - SceneDelegate Methods

#if !TARGET_OS_OSX
- (void)scene:(UIScene *)scene
// FlutterSceneLifeCycleDelegate declares this as BOOL. YES means this plugin
// consumed the connection, which skips Flutter's cold-start deep link delivery
// and passes nil options to later plugins. Messaging only reads
// notificationResponse, so always return NO.
- (BOOL)scene:(UIScene *)scene
willConnectToSession:(UISceneSession *)session
options:(UISceneConnectionOptions *)connectionOptions {
// Handle launch notification if present
Expand All @@ -836,6 +840,7 @@ - (void)scene:(UIScene *)scene

[self setupNotificationHandlingWithRemoteNotification:remoteNotification
actionIdentifier:actionIdentifier];
return NO;
}
#endif

Expand Down
Loading