Commit Graph

49 Commits

Author SHA1 Message Date
Miguel Ruivo 58625339b8 Bumps to 4.0.2 2021-09-07 14:14:59 +01:00
Jonathan Goyvaerts 75afc8e4d2 Fix custom extensions not working on windows due to incorrect file filter 2021-09-01 18:52:55 +02:00
Miguel Ruivo 267cc12caa Updates iOS picker presentation (#813) and fixes import regression on web (#746) 2021-08-31 12:02:15 +01:00
Miguel Ruivo 2cd8dcabbe
Merge pull request #811 from Nolence/master
Add custom equality and toString
2021-08-31 11:55:47 +01:00
Miguel Ruivo 810ec2b4b5
Merge pull request #754 from maxzod/master
fix PlatformFile path is always null on web
2021-08-30 20:51:39 +01:00
Nolence be454b7cd0 Add custom equality and toString 2021-08-28 18:57:02 -06:00
Miguel Ruivo 660855c2ec Adds desktop support (#271) and onFileLoading callback to web (#766) 2021-08-10 17:54:23 +01:00
Ahmed Masoud 9e6c9d6266
fix PlatformFile path is always null on web 2021-06-22 23:04:49 +02:00
Miguel Ruivo 9f0a811028 Fixes #616 and #746 2021-06-22 16:21:05 +01:00
Miguel Ruivo dee3b2efe9 Fixes #725 2021-05-26 11:51:41 +01:00
Miguel Ruivo a291b74779 Updates docs and removes deprecated call warnings 2021-05-26 01:00:48 +01:00
Loc Le 911ba7be18 detect when cancel is clicked on web 2021-04-01 13:50:28 +01:00
Miguel Ruivo e8075e3f96 Updates plugin_platform_interface 2021-03-04 18:02:02 +00:00
Miguel Ruivo 85dba080cd Adds null safety support (#510) 2021-03-03 22:09:39 +00:00
Miguel Ruivo faeef3aa4d Addresses onFileLoading status callback on iOS 14+ (#577) 2021-01-31 17:28:09 +00:00
Miguel Ruivo 9500baac97 Updates size property on web from kb to bytes 2021-01-08 22:50:58 +00: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
DenchikBY f498c22e6c Fixed desktop plugin implementation 2020-12-10 20:05:05 +00:00
Miguel Ruivo fe19d20270 Fixes an issue that could result in a crash when selecting a media item twice (#518) 2020-12-10 13:00:56 +00:00
redsolver 2aafd1131c Added withReadStream option to load a file in chunks (useful for large files) 2020-11-20 10:54:32 +00:00
markgrancapal d2d4de7bf8 Fix null PlatformFIle.extension error when called on Web 2020-11-11 15:14:09 +00:00
Miguel Ruivo ba19a7eccf Adds mobile Safari support (Web) and conditional imports for backwards compatibility with Xcode 11 (iOS) 2020-09-24 21:59:18 +01:00
Miguel Ruivo 4da8c0f180 Updates docs 2020-09-11 18:52:07 +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 43a27cd117 Refactors CUSTOM to custom on getFile() 2020-04-28 10:30:59 +01:00
Miguel Ruivo 4b1c047581 Adds FileType.media for picking both images & video at same time 2020-04-27 22:25:57 +01:00
Miguel Ruivo 0741603151 Adds multiple file extensions support (iOS) and updates channel name 2020-04-05 23:06:48 +01:00
Miguel Ruivo 2378cd5422 Adds multiple file extensions support (Android) 2020-04-05 23:04:32 +01:00
Miguel Ruivo 8eb61af343 Fixes (#200) and other minor improvements
- Fixes an issue that could result in a crash when selecting files (with repeated taps) from 3rd party remote providers (Google Drive, Dropbox etc.);
- Go: Updates channel name;
- Adds check that ensures that you one uses `FileType.custom` when providing a custom file extension filter;
2020-03-29 23:23:17 +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 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 c8f5d4fe69 see changelog (1.3.7) (#102) 2019-06-24 11:12:58 +01:00
Miguel Ruivo 43796d2a21
Beta (#55)
* If picker is canceled in `getFile()`, it should return `null`
2019-03-16 12:18:10 +00:00
Miguel Ruivo 09e7eca5be updates example app, adds getFile method, updates changelog and readme 2019-03-12 01:25:23 +00:00
Miguel Ruivo e4741f5942 minor improvements 2019-03-11 00:01:44 +00: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 a33ece96ed adds multiple file selection option on iOS 2019-03-06 01:16:35 +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 8e68ab0b31 adds comments for public API 2018-12-06 16:05:10 +00:00
Miguel Ruivo 97e5a46ad9 minor refactor 2018-12-06 15:21:34 +00:00
Miguel Ruivo 2826379e15 adds support for video files 2018-12-05 15:32:02 +00:00
Miguel Ruivo 2aa8ba18f5 adds support for any type of file;
fixes permission ask recursive loop;
2018-11-30 16:15:09 +00:00
Miguel Ruivo 603c0f15d2 adds support for gallery and camera path picks 2018-09-11 15:59:35 +01:00
Miguel Ruivo 2adaebc097 first commit 2018-06-23 02:22:04 +01:00