Commit Graph

24 Commits

Author SHA1 Message Date
Miguel Ruivo fc8fd7ceee Fixes getDirectoryPath (#745) and addresses a minor issue for invalid custom file types 2021-07-28 22:35:11 +01:00
Miguel Ruivo 9f0a811028 Fixes #616 and #746 2021-06-22 16:21:05 +01:00
hashem78 56addd4352 use long instead of int to represent no. of bytes 2021-03-08 14:08:55 +02:00
Miguel Ruivo 55127843c9 Updates size to be in bytes instead of kb (#573) 2021-01-04 15:10:27 +00:00
Miguel Ruivo 692d7980f2 Updates file name handling method on Android (#487) 2020-12-13 16:04:55 +00:00
Miguel Ruivo 7f8d801a81 Fixes #472 and #482
- Fixes an issue that could result in some files not being properly retrieved due to special characters on their names. ([#472](https://github.com/miguelpruivo/flutter_file_picker/issues/472));
- Fixes a NPE that could happen with some devices. ([#482](https://github.com/miguelpruivo/flutter_file_picker/issues/482));
2020-11-04 18:25:05 +00:00
Miguel Ruivo f731f4ae26 Fixes out of memory issue on some devices when picking big files (#392) 2020-09-25 18:25:01 +01:00
Miguel Ruivo 1239c39113 Unifies all platforms in a single plugin with addition of new features 2020-09-11 18:52:07 +01:00
Miguel Ruivo 93b32ebedd Web support
Splits the package into:
- file_picker (io);
- file_picker_web (web);
- file_picker_interface — shared interface to be used with all file_picker implementations;
2020-06-11 19:29:13 +01:00
Miguel Ruivo b1f8cd6064 Allow picking directory path
Adds support for picking directory paths on both iOS & Android through getDirectoryPath() method.
2020-06-04 22:49:39 +01:00
Miguel Ruivo 030a34d72c Adds clearTemporaryFiles() method to explicitly remove cached files
- Adds Android implementation of clearTemporaryFiles();
- Adds iOS implementation of clearTemporaryFiles();
2020-05-01 17:49:35 +01:00
Miguel Ruivo d94aaaac30 Prevents a crash when a file can't be resolved on Android (#221) 2020-04-20 00:06:04 +01:00
Miguel Ruivo e39aa10134 Adds try-catch clause while querying for the file name 2020-04-15 22:05:37 +01:00
Miguel Ruivo 2378cd5422 Adds multiple file extensions support (Android) 2020-04-05 23:04:32 +01:00
Miguel Ruivo a9cc55f5f5 Android V2 embedding
- Adds support for Android V2 embedding;
- Refactors FileType to match camelCase enum Dart guideline;
2020-03-14 17:32:05 +00:00
Miguel Ruivo b4524e3ee9 see changelog (v1.4.1)
* Better handling on Android of buggy file managers that return no intent when canceling the file selection even though it returns Activity.RESULT_OK (#111)

* removes deprecated Android SDK code and fixes an issue that could prevent some downloaded files from being picked

* adds getMultiFile and prevents UI blocking when picking large remote files

* updates readme file

* fixes an issue that could prevent internal storage files from being properly picked

* fixes #126
2019-09-17 10:16:41 +01:00
Miguel Ruivo a9eb2abbb9
see changelog (v1.4.0+1)
* Better handling on Android of buggy file managers that return no intent when canceling the file selection even though it returns Activity.RESULT_OK (#111)

* removes deprecated Android SDK code and fixes an issue that could prevent some downloaded files from being picked

* adds getMultiFile and prevents UI blocking when picking large remote files

* updates readme file

* fixes an issue that could prevent internal storage files from being properly picked
2019-09-02 13:20:23 +01:00
Miguel Ruivo f502423ab2 see changelog (v1.4.0)
* Better handling on Android of buggy file managers that return no intent when canceling the file selection even though it returns Activity.RESULT_OK (#111)

* Add file_picker Go support. (#132)

* Add file_picker Go support.

Originally written by @chunhunghan, cleaned up and fixed for MacOS by Geert-Johan Riemer.

Co-authored-by: chunhunghan <chunhunghan@gmail.com>

* Add improved instructions to go/README.md

* removes deprecated Android SDK code and fixes an issue that could prevent some downloaded files from being picked

* adds getMultiFile and prevents UI blocking when picking large remote files

* updates readme file
2019-08-31 15:18:04 +01:00
Miguel Ruivo 3f67653fed
Fixes #104 (#109) 2019-07-16 01:19:58 +01:00
Miguel Ruivo c8f5d4fe69 see changelog (1.3.7) (#102) 2019-06-24 11:12:58 +01:00
Miguel Ruivo aa2cfc95bd updates readme and changelog and adds support for multiple path selection on Android 2019-03-08 01:42:07 +00:00
Miguel Ruivo a745cdb333 removes the image_picker dependency and adds support for picking song files on iOS 2019-03-05 19:02:14 +00:00
Miguel Ruivo e7f014215b see changelog 2018-12-27 14:02:24 +00:00
Miguel Ruivo 2088729655 fixes an issue where documents with some string path coudln't be loaded on the android 8.0 2018-12-06 12:20:36 +00:00