Commit Graph

42 Commits

Author SHA1 Message Date
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 627c0a31b2 Fixes #606 2021-03-03 22:08:52 +00:00
nrikiji 3358211d7e Update preferredAssetRepresentationMode to PHPickerViewController for video. 2021-02-22 03:35:13 +09:00
Miguel Ruivo faeef3aa4d Addresses onFileLoading status callback on iOS 14+ (#577) 2021-01-31 17:28:09 +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 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
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 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 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 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 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 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
Miguel Ruivo 7d6bffd692 Adds support for picking remote images on iOS (multi-picking from Gallery) 2020-04-25 19:00:23 +01:00
Miguel Ruivo 806a074216 Adds BSImagePicker as a pod dependency with draft implementation 2020-04-22 22:27:46 +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 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 5e3bd61bf3 Updates MethodChannel name on iOS 2020-03-15 16:55:43 +00:00
Miguel Ruivo c99e22e958 Fix #171
Fixes an issue that could result in a crash when tapping multiple times in the same media file while picking, on some iOS devices.
2019-11-20 00:48:53 +00:00
Miguel Ruivo e9f180ae01
see changelog (v1.4.2)
* 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 an issue that could result in a crash when picking video files on iOS 13 or above and updates go-flutter version
2019-09-24 10:59:01 +01:00
Miguel Ruivo b72483dc66
Adds the document picker delegate for versions below iOS 11 (#87)
* If file not choosen getFile() should return null

* minor fix

* fixes an issue where sometimes getFilePath could return a List instead of a String

* minor fixes

* Update README.md

* Fix for background activities trying to register the plugin (#66)

* Beta (#55)

* If picker is canceled in `getFile()`, it should return `null`

* Beta (#60)

* Added a check to registerWith to prevent background flutter view from trying to register the plugin, as there won't be any activity.

* 1.3.3 > 1.3.4

* removes a build.gradle depdency that should't have been added in the last commit

* Adds the document picker delegate for versions below iOS 11
2019-05-29 14:02:26 +01: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 2826379e15 adds support for video files 2018-12-05 15:32:02 +00:00
Miguel Ruivo c5b68029ce adds iOS support 2018-11-30 18:06:11 +00:00
Miguel Ruivo d23d94882d fixes a few iOS bugs 2018-06-24 16:07:34 +01:00
Miguel Ruivo 2adaebc097 first commit 2018-06-23 02:22:04 +01:00