All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.3.19 - 2022-09-20
- Improve dismiss listener
- Update Java version to 11
- Support Android API 33
2.3.18 - 2022-09-05
- Fix crash on not setting the setOutputFormat (Special Thanks to Hussein Habibi Juybari)
- Add Intercept Dialog dismiss event
- Improve how to customize the library in the readme file
2.3.17 - 2022-08-23
- Migrate to Kotlin 1.7.10
- Update internal dependencies
- Let user pick multiple files in the gallery mode
- Let user define the output format
2.1.16 - 2022-06-22
- Improve document on how to provide both camera and gallery
- List other gallery apps on gallery choose mode
- Handle an exception on creating a new file while trying to crop the image
- Add Russian translation
- Add Italy(italian) translation
2.1.15 - 2021-11-16
- Update internal dependencies
- Improve support for front camera
- Target SDK 31
2.1.14 - 2021-10-20
- Migrate to Kotlin 1.5.31
- Update internal dependencies
- Fix an issue if image is corrupted
- Add Bengali translation
- Add Dutch translation
2.1.13 - 2021-08-06
- Migrate to Kotlin 1.5.21
- Update internal dependencies
- Fix typo in German translation
- Add French translation
2.1.12 - 2021-06-14
- Add free style crop option - cropFreeStyle()
- Add Brizilian Portuguese translation
- Add Russian translation
- Update internal dependencies
2.1.11 - 2021-05-29
- Migrate to Kotlin 1.5.10
- Add Uzbekistan translation
- Remove unused string resources
- Update internal dependencies
2.1.10 - 2021-05-16
- Fix false-positive file not found issue
- Fix show image issue
- Add jvm static annotations
- Improve readme and the sample app
2.1.9 - 2021-05-15
- Update readme
- Some minor improvements
- Add Norwegian translation
2.1.8 - 2021-05-11
- Update readme
- Migrate to Kotlin 1.5.0
- Resolve ktlint warnings
- Move necessary permissions into the library
2.1.7 - 2021-05-07
- Fix permission issue on release mode
- Remove Java 8 Desugering
- Disable multidex
- Update readme
2.1.6 - 2021-05-05
- Fix select image issue on API 29
- Fix capture image by camera on API 29
- Use Uri instead of File
- Enable multidex
- Update gradle plugin to 4.2.0
- Update gradle wrapper to 7.0
- Add Java 8 Desugering
- Improve readme file
2.0.6 - 2021-05-03
- Update internal dependencies
- Update demo pictures
2.0.5 - 2021-05-01
- Fix pick the image from a sub-folder in gallery issue
- FIx pick the image from download folder on Android API 29
2.0.4 - 2021-04-30
- Refactor
CompressionProvider.kt
fun compress(maxSize: Int): Builder
has been removed- Refactor
Image maxResultSize
AsyncTask
replaced with CoroutinesstartActivityForResult
has been removedInlineActivityResult
dependency has been removed- New Android Activity Result API added
- Add Arabic translation
1.8.4 - 2021-04-16
- Add German translation
- Add Swedish translation
1.8.3 - 2021-04-14
- Some minor improvements
- Update Gradle to 7.0
- Add missing uCrop translation
- Fix cannot access androidx.lifecycle.HasDefaultViewModelProviderFactory issue
- Add italian translation
1.8.2 - 2021-04-10
- Internal improvements
- Use Kotlin v1.4.32
- Update AGP to 1.4.3
- Let developer set requestLegacyExternalStorage if needed
1.8.1 - 2021-03-17
- Fixed camera capture not working
- Decrease target sdk from 30 to 29
- Rebasing
- Added dialog dismiss listener (Special Thanks to kibotu)
- Added text localization (Special Thanks to yamin8000 and Jose Bravo)
- Fixed crash issue on missing camera app #69
- Fixed issue selecting images from download folder #86
- Fixed exif information lost issue #121
- Fixed crash issue on large image crop #122
- Fixed saving image in cache issue #127
1.7.10 - 2020-11-23
- Update internal libraries
- Use Kotlin v1.4.20
1.7.9 - 2020-11-22
- Add bintray
1.7.8 - 2020-11-20
- Increase external crop library version
- Increase target sdk version
- Add oval crop feature
1.7.7 - 2020-11-18
- Remove extra language
- Update libraries version
1.7.6 - 2020-11-13
- Added front camera
1.7.5 - 2020-08-30
- Added Polish text translation #115 (Special Thanks to MarcelKijanka)
- Failed to find configured root exception #116
1.7.4 - 2020-08-02
- Fixed PNG image saved as JPG after compress issue #105
1.7.3 - 2020-07-18
- Fixed PNG image saved as JPG after crop issue #94
1.7.2 - 2020-07-14
1.7.1 - 2020-03-26
- Fixed The application could not be installed: INSTALL_FAILED_CONFLICTING_PROVIDER issue #67
1.7 - 2020-03-23
- Added option to limit MIME types while choosing a gallery image (Special Thanks to Marchuck)
- Introduced ImageProviderInterceptor, Can be used for analytics (Special Thanks to Marchuck)
- Fixed FileProvider of the library clashes with the FileProvider of the app #51 (Special Thanks to OyaCanli)
- Added option to set Storage Directory #52
- Fixed NullPointerException in FileUriUtils.getPathFromRemoteUri() #61 (Special Thanks to himphen)
1.6 - 2020-01-06
- Improved UI/UX of sample app
- Removed Bitmap Deprecated Property #33 (Special Thanks to nauhalf)
- Camera opens twice when "Don't keep activities" option is ON #41 (Special Thanks to benji101)
- Fixed uCrop Crash Issue #42
1.5 - 2019-10-14
- Fixed app crash issue, due to Camera Permission in manifest #34
1.4 - 2019-09-03
- Optimized Uri to File Conversion (Inspired by Flutter ImagePicker)
1.3 - 2019-07-24
- Sample app made compatible with Android Kitkat 4.4+ (API 19)
1.2 - 2019-05-13
- Added Support for Inline Activity Result(Special Thanks to soareseneves)
- Fixed issue #6
1.1 - 2019-04-02
- Optimized Compression Logic
- Replace white screen with transparent one.
1.0 - 2019-02-11
- Pick Gallery Image
- Capture Camera Image
- Crop Image(Its based on uCrop)
- Compress Image(Compress image based on resolution and size)
- Handle Runtime Permission for Camera and Storage
- Retrieve Image Result as File, File Path as String or Uri object