You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[UIScene] Migrate Deep Linking / Universal Links for scenes #174403
Deep linking on iOS relies on two application lifecycle events. After migrating to UIScene, these events are no longer called by UIKit. Instead, the UIScene lifecycle event is called.
In the engine, when these events are called, it forwards them to the FlutterViewController, which then uses a method channel from the FlutterEngine to send the information to the framework. It will then return with either a success or failure. (Source, Source)
Flutter will need to add the UIScene lifecycle equivalents outlined above. Then when the FlutterSceneDelegate receives the event, instead of forwarding to the FlutterViewController, it will forward it directly to each FlutterEngine associated with it.
- (void)scene:(UIScene*)scene continueUserActivity:(NSUserActivity*)userActivity {
if (![selfisFlutterDeepLinkingEnabled]) {
returnNO;
}
for (FlutterEngine* engine in [_engines allObjects]) {
if (!engine) {
continue;
}
[engine sendDeepLinkToFramework:url ...];
}
}
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
Add deeplinking for UIScene migration (#176303)
Add deeplinking for UIScene migration (flutter#176303)
Add deeplinking for UIScene migration (flutter#176303)
github-actions commentedon Oct 16, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.Add deeplinking for UIScene migration (flutter#176303)
Add deeplinking for UIScene migration (#176303)