open_file icon indicating copy to clipboard operation
open_file copied to clipboard

After migrating to the UISceneDelegate the document cannot be opened

Open romawizard opened this issue 8 months ago • 2 comments

After migrating to the UISceneDelegate for ios using the official guide https://docs.flutter.dev/release/breaking-changes/uiscenedelegate the document is not opening. I tried the same Dart code but before migration - everything OK.

In Fluttre I open the doc in this way

try { final extension = path.extension(file.path); if (context.mounted) { await OpenFile.open(file.path, type: extension, isIOSAppOpen: true); } } catch (e) { if (context.mounted) { context.showErrorToast(message: e.toString()); } }

No errors in console. The future for the await OpenFile.open(file.path, type: extension, isIOSAppOpen: true); never completes

romawizard avatar Mar 23 '26 11:03 romawizard

The same for me

airon-tark avatar Apr 05 '26 08:04 airon-tark

Same for me too

Ellynnn avatar Jun 15 '26 04:06 Ellynnn