Commit Graph

95 Commits

Author SHA1 Message Date
Miguel Ruivo 58625339b8 Bumps to 4.0.2 2021-09-07 14:14:59 +01:00
Miguel Ruivo 267cc12caa Updates iOS picker presentation (#813) and fixes import regression on web (#746) 2021-08-31 12:02:15 +01:00
Nolence be454b7cd0 Add custom equality and toString 2021-08-28 18:57:02 -06:00
Miguel Ruivo 803e47d8db
Merge pull request #791 from ened/jcenter
Migrate jcenter pointers to mavenCentral
2021-08-11 09:50:02 +01:00
Miguel Ruivo 660855c2ec Adds desktop support (#271) and onFileLoading callback to web (#766) 2021-08-10 17:54:23 +01:00
Sebastian Roth cb8c2091e2 bump flutter_plugin_android_lifecycle for jcenter->mavenCentral migration as well 2021-08-04 10:46:26 +01:00
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
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
Tejas Mehta a1878c8816 check if the type is an image and utilize the MediaStore Opener (which goes through the gallery) instead 2021-04-01 13:50:27 +01:00
Miguel Ruivo 80c90a972a Promote null safety 2021-03-04 18:02:02 +00:00
Miguel Ruivo e8075e3f96 Updates plugin_platform_interface 2021-03-04 18:02:02 +00:00
Miguel Ruivo cae0765e3e Bumps version 2021-03-03 22:10:14 +00:00
Miguel Ruivo 627c0a31b2 Fixes #606 2021-03-03 22:08:52 +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 2b22841e82 Fixes iOS ViewController which is nil when UIWindow.rootViewController have changed (#525) 2020-12-13 16:19:48 +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 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 0fa01bb74a Fixes FileType.audio on iOS by exporting non DRM ipod-library files (#441) 2020-10-25 18:07:36 +00:00
Miguel Ruivo b690afe33e Adds missing extension to name property of PlatformFile (#444) 2020-10-22 11:07:24 +01:00
Miguel Ruivo 626ab4d4a8 Adds visibility queries to support apps targeting Android 11 and later (#440) 2020-10-20 20:28:16 +01:00
Miguel Ruivo 000f05833e Updates iOS media picker to launch in app context (instead of modal) 2020-10-20 11:19:20 +01:00
Miguel Ruivo a4d5478669 Fixes #431
Fixes an issue on iOS 14, where canceling with swipe gestures, could result in cancel event not being dispatched.
2020-10-19 21:04:37 +01:00
Miguel Ruivo b2668dbbd0 Fixes #425 and updates iOS to use NSDocumentDirectory on iOS 12 or lower 2020-10-07 15:16:56 +01:00
Miguel Ruivo 1479f8a8cd Fixes iOS 14 media picker (image & video) (#405, #407) 2020-09-29 18:03:09 +01:00
Miguel Ruivo d2ecbd3d30 Fixes NPE when activity is destroyed by OS (#402)
Closes #402.
2020-09-28 21:41:59 +01:00
Miguel Ruivo 0609cae84a Fixes directory pick on Linux 2020-09-28 13:45:17 +01: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 b46422a195 Fixes multi-pick example on README 2020-09-25 15:28:01 +01:00
Miguel Ruivo 9aa951b4ad Fixes conditional imports for backwards compatibility with Xcode 11 2020-09-25 15:24:12 +01: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 acf3f1b248 Addresses an issue that could prevent iOS 14 users from accessing media data 2020-09-23 16:08:42 +01:00
Miguel Ruivo 346caf94d9 Fixes README screenshots 2020-09-23 10:30:48 +01:00
Miguel Ruivo 24b4337d39 Adds PHPickerController support for iOS 14 or later
Updates picker to use new PHPickerController for both single and multi media (image/video) picks (iOS 14 and above only).
2020-09-23 10:23:38 +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 02b3056a1e Adds temporary workaround due to Flutter issue #49364 2020-05-04 23:03:57 +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 29c95c6b27 Updates podspec to use only PhotoGallery from DKImagePickerController 2020-04-29 23:52:50 +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 6afd2aa1a8 Replaces BSImagePicker with DKImagePickerController for multi picks of Photos app on iOS (#233) 2020-04-26 21:47:49 +01:00