Skip to content

[BUG] FileSaver iOS displays 'Move' instead of 'Save' #2336

@AntHillOracle

Description

@AntHillOracle

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

Using CommunityToolkit.Maui.Storage.FileSaver.SaveAsync() on iOS, when the file dialog is raised it shows 'Move' in the upper-right corner of the interface instead of 'Save'. This interface error happens even when saving a newly created file for the first time.

The file is successfully saved to the selected location when Move is tapped, however the 'Move' prompt is simply confusing for a user that has created a brand-new file. If the file already exists and Move is tapped, the user is properly prompted to replace or rename the file.

This issue is reproducable using the CommunityToolkit Samples app, or by creating your own app using FileSaver.

Expected Behavior

The iOS FileSaver dialog should show 'Save' when saving a newly created file.

Steps To Reproduce

  1. Open and run the CommunityToolkit.Maui.Sample solution.
  2. Tap the hamburger menu, select essentials, select FileSaver.
  3. Select any of the FileSaver instantiation methods.

Link to public reproduction project repository

https://github.com/CommunityToolkit/Maui.git

Environment

- .NET MAUI CommunityToolkit: 4.0.0
- OS: iOS 17.2
- .NET MAUI: net8.0-ios

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/essentialsIssue/Discussion/PR that has to do with EssentialsbugSomething isn't workingunverified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions