Giter Club home page Giter Club logo

Comments (11)

aleripe avatar aleripe commented on August 18, 2024 1

Thanks a lot! You library is really great! 😊

from flutter_file_dialog.

marinalvdgs avatar marinalvdgs commented on August 18, 2024 1

Thanks a lot! It works perfectly now ❤️

from flutter_file_dialog.

kinex avatar kinex commented on August 18, 2024

Thanks for the bug report, fixed in 2.1.0. Let me know if you notice issues.

from flutter_file_dialog.

marinalvdgs avatar marinalvdgs commented on August 18, 2024

Hello @kinex, I still get this issue, have you any suggestions?

from flutter_file_dialog.

kinex avatar kinex commented on August 18, 2024

Hi @marinalvdgs, What is your OS version and code sample?

from flutter_file_dialog.

marinalvdgs avatar marinalvdgs commented on August 18, 2024

@kinex I tested on iOS 14.3 on real devices and iOS 14.5 on a simulator. I try to get file path like this:

  `final params = OpenFileDialogParams();

  final filePath = await FlutterFileDialog.pickFile(params: params);

  if (filePath == null) {
    throw Exception(strings.noFilePicked);
  }

  File f = File(filePath);`

And when I close the dialog by pushing the cancel button it's returning null and throwing an exception, but when I trying to close the dialog by swiping down, it doesn't return anything, so my app freezes without throwing any exception.
Thank you for answering

from flutter_file_dialog.

kinex avatar kinex commented on August 18, 2024

Is there any chance that you are using the old version of the plugin? Please try executing rm Podfile.lock and pod install. Clean also your Flutter project.

from flutter_file_dialog.

marinalvdgs avatar marinalvdgs commented on August 18, 2024

Yes, I've tried this. In pubspec.yaml I have flutter_file_dialog: ^2.1.0 and in podfile.lock it's - flutter_file_dialog (0.0.1). Trying to clean and install again doesn't change anything, maybe I need to change something manually?

from flutter_file_dialog.

kinex avatar kinex commented on August 18, 2024

I tested this in iOS 13.7. It seems it is not even possible to slide down the document picker in this OS version. You can only press the cancel-button.

from flutter_file_dialog.

kinex avatar kinex commented on August 18, 2024

I can reproduce the issue in 14.7.1. The dialog behavior has changed since 13.7, now it is possible to slide down the dialog.

from flutter_file_dialog.

kinex avatar kinex commented on August 18, 2024

Fixed in 2.1.1. Thanks for the bug report.

from flutter_file_dialog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.