file_picker_writable
file_picker_writable copied to clipboard
Incompatible with UISceneDelegate
In Flutter 3.35 there is now a warning if your iOS app has not opted into using UISceneDelegate:
https://github.com/flutter/flutter/pull/169166/files#diff-03650795a384285e808dd560e9154f82215de88bbe60a23483c65789dc606076R397-R405
Related: https://docs.google.com/document/d/1ZfcQOs-UKRa9jsFG84-MTFeibZTLKCvPQLxF2eskx44/edit?tab=t.0
Adopting UISceneDelegate means that you can no longer access the root view controller as you do here: https://github.com/hpoul/file_picker_writable/blob/88b0ae3697a25ac3bd85c8c148cddfc50fb5073d/ios/Classes/SwiftFilePickerWritablePlugin.swift#L22-L25
This plugin then makes the app crash on startup.