Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
AntHillOracle opened this issue Nov 11, 2024 · 0 comments
Open
2 tasks done

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

AntHillOracle opened this issue Nov 11, 2024 · 0 comments
Labels
bug Something isn't working unverified

Comments

@AntHillOracle
Copy link

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

@AntHillOracle AntHillOracle added bug Something isn't working unverified labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unverified
Projects
None yet
Development

No branches or pull requests

1 participant