- Bump RoboElectric dependency to 4.3.1 and update resource usage.
- Fix an issue that the example app won't launch the image picker after Android V2 embedding migration.
- Support Android V2 embedding.
- Migrate to using the new e2e test binding.
- Remove the deprecated
author:
field from pubspec.yaml - Migrate the plugin to the pubspec platforms manifest.
- Require Flutter SDK 1.10.0 or greater.
- Android: Revert the image file return logic when the image doesn't have to be scaled. Fix a rotation regression caused by 0.6.2+1
- Example App: Add a dialog to enter
maxWidth
,maxHeight
orquality
when picking image.
- Android: Fix a crash when a non-image file is picked.
- Android: Fix unwanted bitmap scaling.
- iOS: Fixes an issue where picking content from Gallery would result in a crash on iOS 13.
- Stability and Maintainability: update documentations, add unit tests.
- iOS: Fix image orientation problems when scaling images.
- Remove AndroidX warning.
- Fix iOS build and analyzer warnings.
- Android: Fix ImagePickerPlugin#onCreate casting context which causes exception.
- Define clang module for iOS
- Update and migrate iOS example project.
- Android: Fix a regression where the
retrieveLostImage
does not work anymore. - Set up Android unit test to test
ImagePickerCache
and added image quality caching tests.
- Bugfix iOS: Fix orientation of the picked image after scaling.
- Remove unnecessary code that tried to normalize the orientation.
- Trivial XCTest code fix.
- Replace dependency on
androidx.legacy:legacy-support-v4:1.0.0
withandroidx.core:core:1.0.2
- Add dependency on
androidx.annotation:annotation:1.0.0
.
- New feature : Get images with custom quality. While picking images, user can pass
imageQuality
parameter to compress image.
- Android: Migrated information cache methods to use instance methods.
- Android: Fix memory leak due not unregistering ActivityLifecycleCallbacks.
- Fix video play in example and update video_player plugin dependency.
- iOS: Fix a crash when user captures image from the camera with devices under iOS 11.
- iOS Simulator: fix hang after trying to take an image from the non-existent camera.
- Android: throws an exception when permissions denied instead of ignoring.
- Fix typo in README.
- Bugfix Android: Fix a crash occurs in some scenarios when user picks up image from gallery.
- Use class instead of struct for
GIFInfo
in iOS implementation.
- Don't use module imports.
- iOS: support picking GIF from gallery.
- Add missing template type parameter to
invokeMethod
calls. - Bump minimum Flutter version to 1.5.0.
- Replace invokeMethod with invokeMapMethod wherever necessary.
- Bugfix: Add missed return statement into the image_picker example.
- iOS: Rename objects to follow Objective-C naming convention to avoid conflicts with other iOS library/frameworks.
- iOS: Picked image now has all the correct meta data from the original image, includes GPS, orientation and etc.
- iOS: Add missing import.
- iOS: Using first byte to determine original image type.
- iOS: Added XCTest target.
- iOS: The picked image now has the correct EXIF data copied from the original image.
- Android: fixed assertion failures due to reply messages that were sent on the wrong thread.
- Android: images are saved with their real extension instead of always using
.jpg
.
- Android: Using correct suffix syntax when picking image from remote url.
- Breaking change iOS: Returned
File
objects when picking videos now always holds the correct path. Before this change, the path returned could havefile://
prepended to it.
- Fix the example app failing to load picked video.
- Request Camera permission if it present in Manifest on Android >= M.
- Bugfix iOS: Cancel button not visible in gallery, if camera was accessed first.
- Add
retrieveLostData
to retrieve lost data after MainActivity is killed.
- Android: fix a crash when the MainActivity is destroyed after selecting the image/video.
- Update minimum deploy iOS version to 8.0.
- Fixed incorrect path being returned from Google Photos on Android.
- Check iOS camera authorizationStatus and return an error, if the access was denied.
- Android: Do not delete original image after scaling if the image is from gallery.
- Remove unnecessary temp video file path.
- Fixed wrong GooglePhotos authority of image Uri.
- Fix a crash when selecting images from yandex.disk and dropbox.
- Delete the original image if it was scaled.
- Remove unnecessary camera permission.
- Preserve transparency when saving images.
- Fixed an Android crash when Image Picker is registered without an activity.
- Log a more detailed warning at build time about the previous AndroidX migration.
- Fix a crash when user calls the plugin in quick succession on Android.
- Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library.
- Fix a crash when selecting downloaded images from image picker on certain devices.
- Fix a crash when user tap the image mutiple times.
- Use
api
to definesupport-v4
dependency to allow automatic version resolution.
- Depend on full
support-v4
library for ease of use (fixes conflicts with Firebase and libraries)
- Bugfix: on iOS prevent to appear one pixel white line on resized image.
- Replace the full
com.android.support:appcompat-v7
dependency withcom.android.support:support-core-utils
, which results in smaller APK sizes. - Upgrade support library to 27.1.1
- Added missing video_player package dev dependency.
- Added support for picking remote images.
- Bugfixes, code cleanup, more test coverage.
- Updated Gradle tooling to match Android Studio 3.1.2.
- Bugfix: on iOS the
pickVideo
method will now return null when the user cancels picking a video.
- Added support for picking videos.
- Updated example app to show video preview.
- Bugfix: the
pickImage
method will now return null when the user cancels picking the image, instead of hanging indefinitely. - Removed the third party library dependency for taking pictures with the camera.
- Breaking change. The
source
parameter for thepickImage
is now required. Also, theImageSource.any
option doesn't exist anymore. - Use the native Android image gallery for picking images instead of a custom UI.
- Bugfix: Android version correctly asks for runtime camera permission when using
ImageSource.camera
.
- Breaking change. Set SDK constraints to match the Flutter beta release.
- Simplified and upgraded Android project template to Android SDK 27.
- Updated package description.
- Breaking change. Upgraded to Gradle 4.1 and Android Studio Gradle plugin 3.0.1. Older Flutter projects need to upgrade their Gradle setup as well in order to use this version of the plugin. Instructions can be found here.
- Added FLT prefix to iOS types
- Bugfix: canceling image picking threw exception.
- Bugfix: errors in plugin state management.
- Added optional source argument to pickImage for controlling where the image comes from.
- Added optional maxWidth and maxHeight arguments to pickImage.
- Updated Gradle repositories declaration to avoid the need for manual configuration in the consuming app.
- Updated readme and description in pubspec.yaml
- Updated dependencies
- Breaking Change: You need to add a maven section with the "https://maven.google.com" endpoint to the repository section of your
android/build.gradle
. For example:
allprojects {
repositories {
jcenter()
maven { // NEW
url "https://maven.google.com" // NEW
} // NEW
}
}
- Fix for crash on iPad when showing the Camera/Gallery selection dialog
- Updated README
- Updated README
- Fix crash when trying to access camera on a device without camera (e.g. the Simulator)
- Initial Release