Commit Graph

51 Commits

Author SHA1 Message Date
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 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 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
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 d94aaaac30 Prevents a crash when a file can't be resolved on Android (#221) 2020-04-20 00:06:04 +01:00
Miguel Ruivo c13124f9bb Addresses an issue with plugin calls on Go (Desktop) (#241) 2020-04-17 13:26:15 +01:00
Miguel Ruivo d67b369715 Updates GO (Desktop) to support multiple extension filters 2020-04-08 12:45:06 +01:00
Miguel Ruivo 8fdecd6b8b Addresses an issue that could result in permission handler resolving requests from other activities 2020-04-07 18:30:04 +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 cabddf7790 Temporary workaround for #49365 (Flutter)
Adds temporary workaround for (#49365)(https://github.com/flutter/flutter/issues/49365) until 1.14.6 lands on stable channel.
2020-03-15 14:23:41 +00: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 b68ee11c6a ## 1.4.3+1
Updates dependencies
2019-12-18 10:49:02 +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 23934697c1 Update go-flutter dependencies (#162) 2019-11-17 14:11:01 +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 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 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 31fe52d9fa
Beta (#73)
* 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
2019-04-21 02:08:58 +01:00
Miguel Ruivo 7751df32ad
1.3.3 > 1.3.4 (#71)
* 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
2019-04-20 17:21:19 +01:00
Miguel Ruivo 8f6c488fb4 Beta (#60) 2019-03-24 13:39:43 +00: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 f4c718608f minor fix on Android 2019-03-13 11:48:00 +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 977498b60c updates readme and changelog 2019-03-10 01:37:05 +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 5e80e31129 updates dependencies to AndroidX 2019-02-12 11:50:51 +00:00
Vadym Pinchuk ec8afd4f57 Replace Support with AndroidX 2019-01-26 20:38:20 +02:00
Miguel Ruivo 20ed446a9e see changelog 2018-12-27 15:13:03 +00:00
Miguel Ruivo e7f014215b see changelog 2018-12-27 14:02:24 +00:00
Miguel Ruivo d69a882ba9 fixes build.gradle 2018-12-07 00:24:21 +00:00
Miguel Ruivo 06786333b9 minor update of README file 2018-12-06 16:11:46 +00:00
Miguel Ruivo 8e68ab0b31 adds comments for public API 2018-12-06 16:05:10 +00:00
Miguel Ruivo c144c21d88 updates version, README and CHANGELOG 2018-12-06 14:43:01 +00:00
Miguel Ruivo b8e1753516 adds FilePath utils class and removes previous commons dependency 2018-09-12 17:21:30 +01:00
Miguel Ruivo 811016acbc versioning 2018-09-11 16:04:14 +01:00
Miguel Ruivo 603c0f15d2 adds support for gallery and camera path picks 2018-09-11 15:59:35 +01:00