Aaron Madlon-Kay
Aaron Madlon-Kay
Reading, writing a file does not need a GUI, for instance when invoked from a background task. Fixes #51
If you try to call `readFile` from a background task e.g. implemented with [flutter_workmanager](https://github.com/fluttercommunity/flutter_workmanager), it will fail with "Illegal state, expected activity to be there". This is because the plugin...
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...
Fixes #49 This approach to accessing the root view controller was adapted from the share_plus plugin: https://github.com/fluttercommunity/plus_plugins/blob/bc6fafc8936f5734e2d1581fb7d7694547e70bfe/packages/share_plus/share_plus/ios/share_plus/Sources/share_plus/FPPSharePlusPlugin.m#L10-L27 I did check that it is compatible with pre-UISceneDelegate scenarios.
Fixes #340 by adopting the same approach as https://github.com/fluttercommunity/plus_plugins/pull/1157
iOS apps must adopt the UIScene lifecycle in iOS 27: https://docs.flutter.dev/release/breaking-changes/uiscenedelegate Apps that have adopted UIScene can no longer access the rootViewController via `[UIApplication sharedApplication].delegate.window`, `[UIApplication sharedApplication].keyWindow.rootViewController`, etc. The former...
Recent Files (stored via [shared_preferences](https://pub.dev/packages/shared_preferences), so NSUserDefaults on iOS) are restored when migrating to a new device (and probably when restoring to the same device). This is pointless and misleading...