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

No implementation found for method saveFile on channel flutter_file_dialog #50

Open
tuceturan opened this issue Mar 21, 2024 · 5 comments

Comments

@tuceturan
Copy link

tuceturan commented Mar 21, 2024

Hello,
I'm using OpenFileDialogParams pickFile;
It throws error : No implementation found for method saveFile on channel flutter_file_dialog. When not select file with this method and after close page and try savedialog file in another page
My code;
final params = OpenFileDialogParams(
dialogType: OpenFileDialogType.image,
sourceType: SourceType.photoLibrary,
);
result = await FlutterFileDialog.pickFile(params: params);
// Navigator.of(context).pop(true);
if (result != null) if (p.extension(result) != '.png' &&
p.extension(result) != '.jpeg' &&
p.extension(result) != '.jpg') {
AppService.helper.showSnackBar(
TranslateLanguage.of(context).localisedString(
'error_extension', {'ext': '.jpeg,png or jpg'}),
false,
this.context);
} else {
_path = result;
_setImageWidget();
}

Can you help?

@aleripe
Copy link

aleripe commented Mar 25, 2024

Same problem here. Many users reporting it lately.

@aleripe
Copy link

aleripe commented Mar 30, 2024

Is this library abandoned? Just to know if I have to migrate elsewhere...

@kinex
Copy link
Contributor

kinex commented Apr 14, 2024

Does this happen on Android or iOS? What is the OS version? If possible please provide detailed steps and a sample app to reproduce the issue.

@tuceturan
Copy link
Author

Application is android and android 11

lutter (Channel stable, 3.16.9, on Microsoft Windows [Version 10.0.22631.3296], locale tr-TR)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)

@DavidOrakpo
Copy link

Ensure you add the requried permissions to the manifest and info.plist guys

NSPhotoLibraryAddUsageDescription
This app needs access to save photos to your gallery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants