408 Commits

Author SHA1 Message Date
Ivan Pusic
bb64b7b816
version bump v0.31.0 2020-05-09 23:51:08 +02:00
Ivan Pusic
9f5e8ff67d
(ios) remove rskimagecropper 2020-05-09 23:15:54 +02:00
Sergio Utama
981668b0ae
Proposal to replace RSKImageCropper with TOCropViewController (#947)
* add TOCropViewController as dependency to replace RSKImageCropper

* implement TOCropViewController

* Fix behavior when using `freeStyleCropEnabled` and setup proper crop aspect ratio by calculating `width` and `height`
2020-05-09 23:15:14 +02:00
Ivan Pusic
aef83f98d1
read sdk version from config for example project 2020-05-02 01:31:08 +02:00
Ivan Pusic
56359f9a7d
add sponsor badge 2020-05-02 01:24:39 +02:00
Ivan Pusic
2423efd7b1
upgrade ucrop to support androidx and sdk 29 v0.30.0 2020-05-02 01:16:55 +02:00
Ivan Pusic
1ddd03e5a9
support for android sdk 29 (#1284)
* Switch Android SDK 29 deprecated methods to alternatives (ivpusic#1110)

Android SDK 29 deprecated the following method for getting external directories
that we use repeatedly.
https://developer.android.com/reference/android/os/Environment#getExternalStoragePublicDirectory(java.lang.String)

I converted the various use cases to use the suggested alternative in
the Context API.
https://developer.android.com/reference/android/content/Context.html#getExternalFilesDir(java.lang.String)

* Updated podspec

* Added iOS 13 DarkMode for picker (#1129)

* Update README.md

* version bump

* Removed isMovingToParentViewController so scroll to bottom works (#1137)

* Fix deprecated RCTImageLoader.h import (#1142)

* upgrade example project to react-native 0.61

* version bump

* Update README.md

* Fix crash after video recording in ios13 & xcode11 (#1145)

* Fix crash after video recording in ios13 & xcode11

UI-related code should run in main thread, as exception says:

`Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'threading violation: expected the main thread'`

* Typo fix

* Fix xCode warnings about main thread execution (#1146)

This kind of warnings also presents in output console if Main Thread Checker is active

* ignore iml files

* version bump

* Fix typo (#1150)

Changed the word "noticable" to "noticeable".

* update type (#1200)

* CocoaPods - Properly Interpolate Tag Version (#1174)

Why?
* Ruby uses `"` quotes when interpolation is required.  Using `'` will mean `v#{version}` 
  is used directly rather than providing the version number.

Changes:
1. User Ruby string interpolation when setting the tag version for the source.

* small typing improvements

* version bump

* fix typings for writeTempFile

* version bump

* (ios) changing images sort order

* upgrade react-native-cli

* using local QBImagePicker as podspec

* Update README.md (#1265)

Clarify that avoidEmptySpaceAroundImage option is (ios only)

* testing with sdk 29

* update yarn.lock

* version bump

Co-authored-by: Phil Simmons <phil@flyclops.com>
Co-authored-by: Yury Korzun <yury@flyclops.com>
Co-authored-by: cr1s3c <yannre1210@gmail.com>
Co-authored-by: Filipe Merker <filipesmerker@gmail.com>
Co-authored-by: Artur Eshenbrener <strate@yandex.ru>
Co-authored-by: Suraneti Rodsuwan <suraneti.rod@gmail.com>
Co-authored-by: mikunimaru <43168745+mikunimaru@users.noreply.github.com>
Co-authored-by: Peter Lucak <login@peterlucak.com>
Co-authored-by: Ivan Pusic <ivpusic@users.noreply.github.com>
Co-authored-by: Mujtaba F. Radhi <al.mujtaba@hotmail.com>
v0.29.0
2020-05-02 00:21:48 +02:00
Mujtaba F. Radhi
b517626437
Update README.md (#1265)
Clarify that avoidEmptySpaceAroundImage option is (ios only)
2020-04-08 09:28:03 +02:00
Ivan Pusic
9278de8931
using local QBImagePicker as podspec v0.28.0 2020-01-28 14:56:46 +01:00
Ivan Pusic
0fba817a97
upgrade react-native-cli 2020-01-19 22:45:20 +01:00
Ivan Pusic
d51e089c2d
(ios) changing images sort order v0.27.0 2020-01-19 22:18:34 +01:00
Ivan Pusic
9a5dedfee4 version bump v0.26.3 2020-01-07 11:38:49 +01:00
Ivan Pusic
884f0c0c25
fix typings for writeTempFile 2020-01-07 11:38:18 +01:00
Ivan Pusic
5eef35a7f9 version bump v0.26.2 2020-01-06 23:06:24 +01:00
Ivan Pusic
dc746b0301 small typing improvements 2020-01-06 23:06:03 +01:00
Peter Lucak
74751d5dab CocoaPods - Properly Interpolate Tag Version (#1174)
Why?
* Ruby uses `"` quotes when interpolation is required.  Using `'` will mean `v#{version}` 
  is used directly rather than providing the version number.

Changes:
1. User Ruby string interpolation when setting the tag version for the source.
2020-01-03 00:25:33 +01:00
mikunimaru
0847843b49 update type (#1200) 2019-12-18 11:31:58 +01:00
Suraneti Rodsuwan
323edd4a11 Fix typo (#1150)
Changed the word "noticable" to "noticeable".
2019-10-22 12:04:01 +02:00
Ivan Pusic
25fba89589
version bump v0.26.1 2019-10-16 21:08:41 +02:00
Ivan Pusic
4c38544452
ignore iml files 2019-10-16 21:06:53 +02:00
Artur Eshenbrener
e0f10f3dda Fix xCode warnings about main thread execution (#1146)
This kind of warnings also presents in output console if Main Thread Checker is active
2019-10-16 20:57:59 +02:00
Artur Eshenbrener
eb57f75cd7 Fix crash after video recording in ios13 & xcode11 (#1145)
* Fix crash after video recording in ios13 & xcode11

UI-related code should run in main thread, as exception says:

`Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'threading violation: expected the main thread'`

* Typo fix
2019-10-16 18:51:54 +02:00
Ivan Pusic
938c74dd42
Update README.md 2019-10-11 23:13:16 +02:00
Ivan Pusic
28b973b116
version bump v0.26.0 2019-10-11 23:01:28 +02:00
Ivan Pusic
f12326b59c
upgrade example project to react-native 0.61 2019-10-11 22:59:56 +02:00
Filipe Merker
d48b76072a Fix deprecated RCTImageLoader.h import (#1142) 2019-10-11 22:34:56 +02:00
cr1s3c
baf60a6164 Removed isMovingToParentViewController so scroll to bottom works (#1137) 2019-10-10 16:00:42 +02:00
Ivan Pusic
e6829797d9
version bump v0.25.3 2019-10-03 16:34:18 +02:00
Ivan Pusic
ebf61079f8
Update README.md 2019-10-03 16:33:06 +02:00
cr1s3c
d935cc6fee Added iOS 13 DarkMode for picker (#1129) 2019-10-03 16:30:21 +02:00
Yuriy Khvishchuk
abcf7d37b1 fixed jitpack.io url in readme.md (#1115) 2019-09-25 12:41:35 +02:00
Ivan Pusic
9870d9acd2
version bump v0.25.2 2019-09-11 10:43:39 +02:00
Ivan Pusic
bc72e5b366
Revert "Adds a sortOrder flag to sort by creation date on iOS (#1090)"
This reverts commit 33fd5265e065006f1e5228d5e28ad575182f1310.
2019-09-11 10:43:08 +02:00
Ivan Pusic
115d7c792d
version bump v0.25.1 2019-09-10 21:45:06 +02:00
Obi1Kennoby
d2cf904159 check permission before startCropping. Fix of #957 (#1095) 2019-08-15 21:14:04 +02:00
Miguel
33fd5265e0 Adds a sortOrder flag to sort by creation date on iOS (#1090)
* Adds a sortOrder flag to sort by creation date on iOS

* Removes extraneous sortOrder access
2019-08-01 10:17:08 +02:00
Andrey
42e14536d8 Clarify README.md (#1058) (#1074)
Not all Android devices handle useFrontCamera
2019-07-23 20:43:19 +02:00
jesster2k10
5871580647 Clarify README.md (#1065)
React Native 0.60 higher requires you to manually install the pods after auto linking
2019-07-16 16:33:47 +02:00
Ivan Pusic
881f96623b
add installation notes for react-native 0.60 2019-07-11 23:57:04 +02:00
Ivan Pusic
08aa94c463
finishing support for react-native 0.60 v0.25.0 2019-07-11 23:52:42 +02:00
OmranElmasry
8aec9a4e53 update android support library to androidx (#1048)
* Update PickerModule.java

* Update RealPathUtil.java

* Update AndroidManifest.xml
2019-07-11 22:00:07 +02:00
Sunny Luo
ef4635cc94 Update pod dependency to support rn 0.60 (#1019)
* Update pod dependency to support rn 0.60

* Update RNImageCropPicker.podspec
2019-07-06 13:46:12 +02:00
Aldren Alangcao
42fd20edd6 Fix when Pictures directory is not existing on device (#1027) 2019-06-18 17:02:29 +02:00
JX Wang
334ca14d93 autoclose inputstream when base64 image file (#1040) 2019-06-18 17:00:48 +02:00
Ivan Pusic
2f6ccb0e6b
version bump v0.24.1 2019-05-16 09:50:41 +02:00
paul-hart
cc8aa64f47 fixed bug with iOS cancel button (#1000) 2019-05-16 09:49:52 +02:00
Ivan Pusic
b55bc5b1bc
example project support for android 9 2019-05-10 14:16:25 +02:00
Ivan Pusic
dca68a6989
version bump v0.24.0 2019-04-26 13:45:48 +02:00
Jonathan Bones
b3606ea940 Fix Android image rotation issue when compressing gallery and camera images (#379) (#986)
When using the image compression options, the returned resized image orientation differed from the original image. This caused selected images to often be rotated.

Original issue thread:
https://github.com/ivpusic/react-native-image-crop-picker/issues/379
2019-04-26 13:45:12 +02:00
Wilson
326e1809ba (android) add showCropFrame option (#972) 2019-03-28 23:54:18 +01:00