Skip to content

Wrong return path on not choosing folder #23

@jlnrrg

Description

@jlnrrg

Issue

When I save a file on android and do not chose a folder, but just hit save the return value is:
/document/63 (the number is counted upward)

Code, which uses this package

    String? realDownloadPath;
    if (Platform.isAndroid) {
      final params =
          SaveFileDialogParams(sourceFilePath: file?.path, localOnly: true);
      realDownloadPath =
          (await FlutterFileDialog.saveFile(params: params)) ?? file?.path;
    } 

Visuals

Peek.2021-12-14.15-59.mp4

Versions

  • Android 12
Flutter 2.8.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision cf44000065 (6 days ago) • 2021-12-08 14:06:50 -0800
Engine • revision 40a99c5951
Tools • Dart 2.15.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions