You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## [Unreleased]
8
8
9
+
## [2.0] - 2021-05-15
10
+
### Added
11
+
* Added arabic translation [#157](https://github.com/Dhaval2404/ImagePicker/pull/157) (Special Thanks to [zhangzhu95](https://github.com/zhangzhu95))
12
+
* Added norwegian translation [#163](https://github.com/Dhaval2404/ImagePicker/pull/163) (Special Thanks to [TorkelV](https://github.com/TorkelV))
13
+
* Added german translation [#192](https://github.com/Dhaval2404/ImagePicker/pull/192) (Special Thanks to [MDXDave](https://github.com/MDXDave))
14
+
* Added method to return Intent for manual launching ImagePicker [#182](https://github.com/Dhaval2404/ImagePicker/pull/182) (Special Thanks to [tobiasKaminsky](https://github.com/tobiasKaminsky))
15
+
* Added support for android 11 [#199](https://github.com/Dhaval2404/ImagePicker/issues/199)
16
+
### Changed
17
+
* Fixed Playstore requestLegacyExternalStorage flag issue [#199](https://github.com/Dhaval2404/ImagePicker/issues/199)
**If you want to get the activity result inline in a modern way (lambda) install [InlineActivityResult](https://github.com/florent37/InlineActivityResult) library:**
2. <span style="color:red">**If you target Android 10 or higher(targetSdkVersion >= 29)**</span>, set the value of ``requestLegacyExternalStorage`` to true in your app's manifest file:
71
68
72
-
```xml
73
-
<manifest ... >
74
-
<!-- This attribute is "false" by default on apps targeting
@@ -128,31 +109,49 @@ Almost 90% of the app that I have developed has an Image upload feature. Along w
128
109
}
129
110
```
130
111
131
-
**Inline method (with InlineActivityResult library, Only Works with FragmentActivity and AppCompatActivity) (Not to be used with crop. See [#32](https://github.com/Dhaval2404/ImagePicker/issues/32))**
132
-
112
+
**Inline method (with registerForActivityResult, Only Works with FragmentActivity and AppCompatActivity)**
113
+
114
+
i. Add required dependency for registerForActivityResult API
@@ -171,7 +170,7 @@ Almost 90% of the app that I have developed has an Image upload feature. Along w
171
170
.start()
172
171
```
173
172
* Crop image
174
-
173
+
175
174
```kotlin
176
175
ImagePicker.with(this)
177
176
.crop() //Crop image and let user choose aspect ratio.
@@ -225,14 +224,39 @@ Almost 90% of the app that I have developed has an Image upload feature. Along w
225
224
.start()
226
225
```
227
226
228
-
* Specify Directory to store captured, cropped or compressed images
227
+
* Specify Directory to store captured, cropped or compressed images. *Do not use external public storage directory (i.e. Environment.getExternalStorageDirectory())*
@@ -276,6 +300,20 @@ Almost 90% of the app that I have developed has an Image upload feature. Along w
276
300
277
301
# ✔️Changelog
278
302
303
+
304
+
### Version: 2.0
305
+
306
+
* Added arabic translation [#157](https://github.com/Dhaval2404/ImagePicker/pull/157) (Special Thanks to [zhangzhu95](https://github.com/zhangzhu95))
307
+
* Added norwegian translation [#163](https://github.com/Dhaval2404/ImagePicker/pull/163) (Special Thanks to [TorkelV](https://github.com/TorkelV))
308
+
* Added german translation [#192](https://github.com/Dhaval2404/ImagePicker/pull/192) (Special Thanks to [MDXDave](https://github.com/MDXDave))
309
+
* Added method to return Intent for manual launching ImagePicker [#182](https://github.com/Dhaval2404/ImagePicker/pull/182) (Special Thanks to [tobiasKaminsky](https://github.com/tobiasKaminsky))
310
+
* Added support for android 11 [#199](https://github.com/Dhaval2404/ImagePicker/issues/199)
We'll be really happy if you sent us links to your projects where you use our component. Just send an email to **[email protected]** And do let us know if you have any questions or suggestion regarding the library.
347
384
348
385
## License
349
386
350
-
Copyright 2019-2020, Dhaval Patel
387
+
Copyright 2019-2021, Dhaval Patel
351
388
352
389
Licensed under the Apache License, Version 2.0 (the "License");
353
390
you may not use this file except in compliance with the License.
0 commit comments