Commit Graph

65 Commits

Author SHA1 Message Date
Sebastian Roth 8bc281ccd9 move from jcenter->mavenCentral in core plugin 2021-08-04 10:46:11 +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 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
hashem78 56addd4352 use long instead of int to represent no. of bytes 2021-03-08 14:08:55 +02: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
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 626ab4d4a8 Adds visibility queries to support apps targeting Android 11 and later (#440) 2020-10-20 20:28:16 +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 d2ecbd3d30 Fixes NPE when activity is destroyed by OS (#402)
Closes #402.
2020-09-28 21:41:59 +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 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 4b1c047581 Adds FileType.media for picking both images & video at same time 2020-04-27 22:25:57 +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 e39aa10134 Adds try-catch clause while querying for the file name 2020-04-15 22:05:37 +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 2378cd5422 Adds multiple file extensions support (Android) 2020-04-05 23:04:32 +01: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 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 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 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 a745cdb333 removes the image_picker dependency and adds support for picking song files on iOS 2019-03-05 19:02:14 +00:00
Miguel 7402f4bf9d Closes Android input streams and delivers its exceptions to its caller 2019-03-05 12:48:22 +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 e7f014215b see changelog 2018-12-27 14:02:24 +00:00
Miguel Ruivo a914497be6
Update build.gradle 2018-12-07 00:22:12 +00:00
Miguel Ruivo a227c50922 cleanup 2018-12-06 15:58:44 +00:00
Miguel Ruivo d107e3e6f6 updates environment 2018-12-06 15:22:36 +00:00
Miguel Ruivo 97e5a46ad9 minor refactor 2018-12-06 15:21:34 +00:00
Miguel Ruivo 2088729655 fixes an issue where documents with some string path coudln't be loaded on the android 8.0 2018-12-06 12:20:36 +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