Commit Graph

157 Commits

Author SHA1 Message Date
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 4ff33b6acc Merge branch 'single-plugin-for-all-platforms' 2020-09-11 18:52:24 +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 1c0e471458 Adds iOS implementation, removes URI and isDirectory and adds withData optional property 2020-09-11 18:52:07 +01:00
Miguel Ruivo ea601246fd Adds lastModified property and prevents caching if file already exists (Android) 2020-09-11 18:52:07 +01:00
Miguel Ruivo c4d80c5d7c Adds Android implementation 2020-09-11 18:52:07 +01:00
Miguel Ruivo 1916a9acce Refactors plugin to use single package with addition of PlatformFile and FilePickerResult classes 2020-09-11 18:52:07 +01:00
Miguel Ruivo 0f25c14fd6
Update README.md 2020-08-23 13:35:06 +01:00
Miguel Ruivo fa80ef6132 Updates MacOS directory picker to applescript 2020-08-10 15:35:43 +01:00
Miguel Ruivo 0d8c62b4f7 Fixes picking paths from Downloads directory on versions below SDK 29 2020-08-05 10:16:12 +01:00
Miguel Ruivo 506cf55516 Fix custom filter String creation 2020-08-05 10:07:17 +01:00
Miguel Ruivo 3d12c5ece8 Addresses an issue that would cause dot being required on filters for web (#343) 2020-08-04 22:04:49 +01:00
Miguel Ruivo b9e33851cf Adds non legacy support for Android Q 2020-08-04 22:04:45 +01:00
Miguel Ruivo 1e78f28220 Updates FilePickerPlatform to MethodChannelFilePicker on IO implementation 2020-07-23 17:25:21 +01:00
Miguel Ruivo b63125dfcf Bumps file_picker_interface dependency version 2020-07-23 15:57:56 +01:00
Miguel Ruivo 35a5dcbbbc Rollsback allowCompression from file_picker_interface 2020-07-23 15:57:46 +01:00
Miguel Ruivo fdd19f7006 Adds allowCompression property
Closes #327
2020-07-23 15:47:07 +01:00
Miguel Ruivo 2b5b7593d7 Update README.md
Updates click event call order
2020-07-23 15:47:07 +01:00
Miguel Ruivo a141cf2fc7 Adds getDirectoryPath() desktop (go) implementation 2020-06-17 22:13:44 +01:00
Miguel Ruivo 7598d4608f Updates tearDown() call order on Android's implementation 2020-06-14 11:18:35 +01:00
Miguel Ruivo b9044c30a6 Updates README and removes CI custom script 2020-06-13 14:20:20 +01:00
Miguel Ruivo ffed7696c7 Adds onLoadingFile parameter to handle file processing status 2020-06-12 02:19:25 +01:00
Miguel Ruivo b1881d521b Adds codemagic CI script 2020-06-12 01:07:21 +01:00
Miguel Ruivo 7f58cbeb63 Adds Adds FilePickerStatus event handler to FilePickerPlatform 2020-06-11 22:35:10 +01:00
Miguel Ruivo afbc19670b Merge branch 'web-support' 2020-06-11 19:29:47 +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 87ee48b7f3 Merge branch 'pick-directory' 2020-06-04 22:50:27 +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 2214e87c4a
Update README.md 2020-05-07 23:37:21 +01:00
Miguel Ruivo 02b3056a1e Adds temporary workaround due to Flutter issue #49364 2020-05-04 23:03:57 +01:00
Miguel Ruivo 8f54c4fd4c Merge branch '#259-add-option-to-clean-temporary-files' 2020-05-01 17:49:56 +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