Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.0 Released #200

Merged
merged 65 commits into from
May 15, 2021
Merged

v2.0 Released #200

merged 65 commits into from
May 15, 2021

Conversation

Dhaval2404
Copy link
Owner

🚀 Description

Added

  • Added arabic translation #157 (Special Thanks to zhangzhu95)
  • Added norwegian translation #163 (Special Thanks to TorkelV)
  • Added german translation #192 (Special Thanks to MDXDave)
  • Added method to return Intent for manual launching ImagePicker #182 (Special Thanks to tobiasKaminsky)
  • Added support for android 11 #199

Changed

  • Fixed Playstore requestLegacyExternalStorage flag issue #199
  • Fixed android scope storage issue #29
  • Removed storage permissions #29
  • Fixed calculateInSampleSize leads to overly degraded quality #152 (Special Thanks to FlorianDenis)
  • Fixed camera app not found issue #162

📄 Motivation and Context

This release includes breaking changes.

  1. Removed InlineActivityResult
  2. Removed Storage Permission. Only Uri will be available to access the image files.

🧪 How Has This Been Tested?

Changes have been tested in Android 11, Android 10, and Android 4.4 devices.

📷 Screenshots (if appropriate)

📦 Types of changes

  • [ ✔] Bug fix (non-breaking change which fixes an issue)
  • [ ✔] New feature (non-breaking change which adds functionality)
  • [ ✔] Breaking change (fix or feature that would cause existing functionality to not work as expected)

✅ Checklist

  • [ ✔] My code follows the code style of this project.
  • [ ✔] My change requires a change to the documentation.
  • [ ✔] I have updated the documentation accordingly.

Fixed Type mismatch: inferred type is MenuItem? but MenuItem was expected
Fixed Could not find custom method in androidx.appcompat.widget.TintContextWrapper for onClick handler
Use Uri instead of File to diplay glide image
Fixed copyright issue
#73
Fixed app crashes with ActivityNotFoundException, When camera app is disabled on the device

#69
Added scoped storage support and removed redundant storage permission.

#29 #75
Applied ktlint code formatting
Check runtime Camera permission if permisison is listed in Manifest
Set default compression quality as 100

#93
Upgrade uCrop gradle version to v2.2.5
Request permission if defined in AndroidManifest file
Added requestLegacyExternalStorage flag to temporarily opt-out of scoped storage
Added flag to grant persistable uri permission
Print File Info to check file is accessible or not
# Conflicts:
#	.gitignore
#	imagepicker/src/main/kotlin/com/github/dhaval2404/imagepicker/ImagePicker.kt
#	imagepicker/src/main/kotlin/com/github/dhaval2404/imagepicker/provider/CameraProvider.kt
#	imagepicker/src/main/kotlin/com/github/dhaval2404/imagepicker/util/FileUriUtils.kt
#	imagepicker/src/main/kotlin/com/github/dhaval2404/imagepicker/util/IntentUtils.kt
#	imagepicker/src/main/res/values/strings.xml
#	sample/src/main/kotlin/com.github.dhaval2404.imagepicker/sample/MainActivity.kt
permission_camera_extended_denied is no longer required
Update ktlint version to 0.41.0
@Dhaval2404 Dhaval2404 closed this May 15, 2021
@Dhaval2404 Dhaval2404 reopened this May 15, 2021
@Dhaval2404 Dhaval2404 merged commit 49f07ca into master May 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant