Commit 2317776
fix(ios): fix getViewController under UIScene + bump Flutter min SDK
- getViewController: replaced deprecated UIApplication.delegate.window
(returns nil under UIScene) with UIWindowScene lookup on iOS 13+,
falling back to the AppDelegate window for older iOS versions.
- pubspec.yaml: bumped Flutter minimum SDK from >=1.10.0 to >=3.38.0
as required by the Flutter plugin migration guide for adopting
FlutterSceneLifeCycleDelegate.
Addresses review comments on PR #438.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 0d9216b commit 2317776
2 files changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
906 | 906 | | |
907 | 907 | | |
908 | 908 | | |
909 | | - | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
910 | 922 | | |
911 | | - | |
912 | 923 | | |
913 | 924 | | |
914 | 925 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments