diff --git a/CHANGELOG.md b/CHANGELOG.md index 72541728..34785a4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.1] - 2021-05-27 +### Added + * Added uzbekistan translation (Special Thanks to Khudoyshukur Juraev) +### Changed + * Removed requestLegacyExternalStorage flag + * Removed unused string resources + ## [2.0] - 2021-05-15 ### Added * Added arabic translation [#157](/~https://github.com/Dhaval2404/ImagePicker/pull/157) (Special Thanks to [zhangzhu95](/~https://github.com/zhangzhu95)) @@ -106,7 +113,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Handle Runtime Permission for Camera and Storage * Retrieve Image Result as File, File Path as String or Uri object -[Unreleased]: /~https://github.com/Dhaval2404/ImagePicker/compare/v2.1...HEAD +[Unreleased]: /~https://github.com/Dhaval2404/ImagePicker/compare/v2.2...HEAD +[2.1]: /~https://github.com/Dhaval2404/ImagePicker/compare/v2.0...v2.1 [2.0]: /~https://github.com/Dhaval2404/ImagePicker/compare/v1.8...v2.0 [1.8]: /~https://github.com/Dhaval2404/ImagePicker/compare/v1.7.5...v1.8 [1.7.5]: /~https://github.com/Dhaval2404/ImagePicker/compare/v1.7.4...v1.7.5 diff --git a/README.md b/README.md index 659d5936..f9766c15 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,8 @@ Almost 90% of the app that I have developed has an Image upload feature. Along w * Pick Gallery Image * Pick Image from Google Drive * Capture Camera Image -* Crop Image(Crop image based on provided aspect ratio or let user choose one) -* Compress Image(Compress image based on provided resolution and size) +* Crop Image (Crop image based on provided aspect ratio or let user choose one) +* Compress Image (Compress image based on provided resolution and size) * Retrieve Image Result as Uri object (Retrieve as File object feature is removed in v2.0 to support scope storage) * Handle runtime permission for camera * Does not require storage permission to pick gallery image or capture new image. @@ -51,13 +51,13 @@ Almost 90% of the app that I have developed has an Image upload feature. Along w ```groovy allprojects { repositories { - maven { url "https://jitpack.io" } //Make sure to add this in your project for uCrop + maven { url "https://jitpack.io" } } } ``` ```groovy - implementation 'com.github.dhaval2404:imagepicker:2.0' + implementation 'com.github.dhaval2404:imagepicker:2.1' ``` **If you are yet to Migrate on AndroidX, Use support build artifact:** @@ -300,6 +300,10 @@ Almost 90% of the app that I have developed has an Image upload feature. Along w # ✔️Changelog +### Version: 2.1 + * Added uzbekistan translation (Special Thanks to Khudoyshukur Juraev) + * Removed requestLegacyExternalStorage flag + * Removed unused string resources ### Version: 2.0 diff --git a/imagepicker/build.gradle b/imagepicker/build.gradle index 5dffb3c7..39aa0d0d 100644 --- a/imagepicker/build.gradle +++ b/imagepicker/build.gradle @@ -11,8 +11,8 @@ android { defaultConfig { minSdkVersion 19 targetSdkVersion 30 - versionCode 15 - versionName "2.0" + versionCode 16 + versionName "2.1" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } @@ -69,7 +69,7 @@ ext { siteUrl = '/~https://github.com/Dhaval2404/ImagePicker/' gitUrl = '/~https://github.com/Dhaval2404/ImagePicker.git' - libraryVersion = '2.0' + libraryVersion = '2.1' //If you are uploading new library try : gradlew install //If you are updating existing library then execute: gradlew bintrayUpload //In both the case don't forgot to put bintray credentials in local.properties file. diff --git a/imagepicker/src/main/AndroidManifest.xml b/imagepicker/src/main/AndroidManifest.xml index 20109fc9..2a14f96a 100644 --- a/imagepicker/src/main/AndroidManifest.xml +++ b/imagepicker/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ - - + + معرض الصور كاميرا - البرنامج بحاجة إلى صلاحية الولوج إلى وحدة التخزين الخارجية لتحديد الصورة. يرجى تفعيل هذه صلاحية إنطلاقاً من الإعدادات > الترخيص. - البرنامج بحاجة إلى صلاحيات الولوج إلى الكاميرا و وحدة التخزين الخارجية لالتقاط الصورة. بتعطيلكم لهاته الصلاحيات لن يتمكن التطبيق من الإشتغال بسلاسة. يرجى تفعيل جميع الصلاحيات المطلوبة إنطلاقاً من الإعدادات > الترخيص. - - الترخيص.]]> الترخيص.]]> diff --git a/imagepicker/src/main/res/values-de/strings.xml b/imagepicker/src/main/res/values-de/strings.xml index 9af27d08..d4c8559e 100644 --- a/imagepicker/src/main/res/values-de/strings.xml +++ b/imagepicker/src/main/res/values-de/strings.xml @@ -4,10 +4,6 @@ Galerie Kamera - Die Berechtigung zum Lesen des Speichers ist notwendig um ein Bild auszuwählen. Bitte erlaube die entsprechende Berechtigung unter Einstellungen > Berechtigungen. - Die Berechtigungen Kamera und Zugriff auf den externen Speicher sind notwendig um ein Foto aufzunehmen. Bitte erlaube alle angefordeten Berechtigungen unter Einstellungen > Berechtigungen. - - Berechtigungen.]]> Berechtigungen.]]> diff --git a/imagepicker/src/main/res/values-es/strings.xml b/imagepicker/src/main/res/values-es/strings.xml index b11480e5..8eac21ed 100644 --- a/imagepicker/src/main/res/values-es/strings.xml +++ b/imagepicker/src/main/res/values-es/strings.xml @@ -7,10 +7,6 @@ Galeria Cámara - Se necesitan permisos de Lectura de Datos Externos para seleccionar una imagen. Por favor activa los permisos seleccionados en Ajustes > Permisos. - Se necesitan permisos de Cámara y de Almacenamiento Externo para seleccionar una imagen. Denegar cualquier permiso no ayudará a que la aplicación funcione de manera correcta. Por favor activa todos los permisos solicitados en Ajustes > Permisos. - - Permisos.]]> Permisos.]]> diff --git a/imagepicker/src/main/res/values-fa/strings.xml b/imagepicker/src/main/res/values-fa/strings.xml index bf8c7671..a3210efb 100644 --- a/imagepicker/src/main/res/values-fa/strings.xml +++ b/imagepicker/src/main/res/values-fa/strings.xml @@ -6,10 +6,6 @@ گالری دوربین - برای انتخاب عکس دسترسی خواندن فضای خارجی لازم است. لطفا دسترسی درخواست شده را از تنظیمات فعال کنید > دسترسی ها - برای گرفتن عکس دسترسی دوربین و فضای خارجی لازم است. غیرمجاز کردن این پرمیشن ها اجازه کارکرد صحیح برنامه را میگیرد. لطفا تمامی دسترسی های درخواست شده را از تنظیمات فعال کنید > دسترسی ها - - دسترسی ها]]> diff --git a/imagepicker/src/main/res/values-gu/strings.xml b/imagepicker/src/main/res/values-gu/strings.xml index 30a3fb65..6aef9260 100644 --- a/imagepicker/src/main/res/values-gu/strings.xml +++ b/imagepicker/src/main/res/values-gu/strings.xml @@ -7,10 +7,6 @@ ગેલેરી કૅમેરા - છબીને પસંદ કરવા માટે બાહ્ય સ્ટોરેજ વાંચવાની પરવાનગી આવશ્યક છે. કૃપા કરીને સેટિંગ્સ>પરવાનગીથી તરફથી વિનંતી કરેલ પરવાનગી ચાલુ કરો. - છબીને કેપ્ચર કરવા માટે કૅમેરા અને બાહ્ય સ્ટોરેજ પરવાનગીની આવશ્યકતા છે. કોઈપણ પરવાનગી બંધ કરવાથી એપ્લિકેશન સરળતાથી ચાલવાની મંજૂરી આપશે નહીં. કૃપા કરીને સેટિંગ્સ>પરવાનગીથી બધી વિનંતી કરેલ મંજૂરીઓ ચાલુ કરો. - - પરવાનગીથી સ્ટોરેજ પરવાનગીની મંજૂરી આપો.]]> પરવાનગીથી સ્ટોરેજ પરવાનગીની મંજૂરી આપો.]]> diff --git a/imagepicker/src/main/res/values-hi/strings.xml b/imagepicker/src/main/res/values-hi/strings.xml index 7b694a92..fd49a502 100644 --- a/imagepicker/src/main/res/values-hi/strings.xml +++ b/imagepicker/src/main/res/values-hi/strings.xml @@ -7,10 +7,6 @@ गेलरी कैमरा - छवि का चयन करने के लिए बाहरी संग्रहण की अनुमति आवश्यक है। कृपया सेटिंग्स> अनुमतियों से अनुरोधित अनुमति को चालू करें। - इमेज कैप्चर करने के लिए कैमरा और स्टोरेज परमिशन की जरूरत होती है। किसी भी अनुमति को बंद करने से एप्लिकेशन आसानी से नहीं चल सकेगा। कृपया सेटिंग्स> अनुमतियों से सभी अनुरोधित अनुमतियों को चालू करें। - - अनुमतियों से संग्रहण की अनुमति दें।]]> अनुमतियों से भंडारण की अनुमति दें।]]> diff --git a/imagepicker/src/main/res/values-in/strings.xml b/imagepicker/src/main/res/values-in/strings.xml index c16697d7..0e539820 100644 --- a/imagepicker/src/main/res/values-in/strings.xml +++ b/imagepicker/src/main/res/values-in/strings.xml @@ -4,10 +4,6 @@ Galeri Kamera - Untuk memilih gambar dibutuhkan akses perizinan penyimpanan. Mohon berikan perizinan tersebut melalui Pengaturan > Perizinan. - Untuk mengambil gambar dibutuhkan akses perizinan kamera. Tanpa perizinan aplikasi tidak bisa berjalan dengan baik. Mohon berikan perizinan tersebut melalui Pengaturan > Perizinan. - - Perizinan.]]> Perizinan.]]> diff --git a/imagepicker/src/main/res/values-nb-rNO/strings.xml b/imagepicker/src/main/res/values-nb-rNO/strings.xml index f4ab7eb9..66f9bb16 100644 --- a/imagepicker/src/main/res/values-nb-rNO/strings.xml +++ b/imagepicker/src/main/res/values-nb-rNO/strings.xml @@ -6,10 +6,6 @@ Galleri Kamera - Les Ekstern Lagring-tillatelse trengs for å velge bilde. Du kan endre tillatelser i Innstillinger > Tillatelser. - Kamera- og Les Ekstern Lagring-tillatelser trengs for å ta bilde med kamera. Hvis du ikke aksepterer tillatelsene vil ikke appen fungere optimalt. Du kan endre tillatelser i Innstillinger > Tillatelser. - - Tillatelser.]]> Tillatelser.]]> diff --git a/imagepicker/src/main/res/values-pl/strings.xml b/imagepicker/src/main/res/values-pl/strings.xml index bc44a450..ddbf880d 100644 --- a/imagepicker/src/main/res/values-pl/strings.xml +++ b/imagepicker/src/main/res/values-pl/strings.xml @@ -7,10 +7,6 @@ Galeria Aparat - Dostęp do pamięci zewnętrznej jest wymagany, aby móc wybrać obraz. Zmienić dostęp do pamięci można z poziomu Ustawień > Uprawnienia - Dostęp do aparatu oraz zewnętrznej pamięci jest wymagany, aby przechwycić obraz. Zabranie uprawnień aplikacji może powodować błędy w jej działaniu. Zmienić dostęp do pamięci można z poziomu Ustawień > Uprawnienia - - Uprawnienia.]]> Uprawnienia.]]> diff --git a/imagepicker/src/main/res/values-uz/strings.xml b/imagepicker/src/main/res/values-uz/strings.xml new file mode 100644 index 00000000..a5ba9091 --- /dev/null +++ b/imagepicker/src/main/res/values-uz/strings.xml @@ -0,0 +1,28 @@ + + + Tanlang + Bekor qilish + Galereya + Kamera + + + Ruhsatlar.]]> + + Kamera rasm fayli yaratishda xatolik yuz berdi + Galereyadan rasm tanlashda xatolik yuz berdi + Rasmni kesishda xatolik yuz berdi + Rasmni zichlashda xatolik yuz berdi + Vazifa bekor qilindi + Kamera uchun dastur topilmadi + + + + Original + Rasmni o\'zgartirish + Kesish + Aylantirish + O\'lcham + Kesish + + + diff --git a/imagepicker/src/main/res/values/strings.xml b/imagepicker/src/main/res/values/strings.xml index 1e34ba7e..6a74c282 100644 --- a/imagepicker/src/main/res/values/strings.xml +++ b/imagepicker/src/main/res/values/strings.xml @@ -7,11 +7,7 @@ Gallery Camera - Read External Storage permission is needed to select Image. Please turn on the requested permission from Settings > Permissions. - Camera and External Storage permissions are needed to capture the image. Turning off any permission won\'t allow the application to run smoothly. Please turn on all requested permissions from Settings > Permissions. - - Permissions.]]> - + Permissions.]]> Failed to create Camera image file diff --git a/sample/build.gradle b/sample/build.gradle index 0d2290a3..694b73ec 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -12,8 +12,8 @@ android { applicationId "com.github.dhaval2404.imagepicker.sample" minSdkVersion 19 targetSdkVersion 30 - versionCode 15 - versionName "2.0" + versionCode 16 + versionName "2.1" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true }