Skip to content

After migrating to the UISceneDelegate the document cannot be opened #353

@romawizard

Description

@romawizard

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions