372 Commits

Author SHA1 Message Date
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
stonezzang
725a11b132 Add some types for Image interface (#973) 2019-03-28 10:08:20 +01:00
Ivan Pusic
09cbde4bbd version bump v0.23.1 2019-03-20 22:41:22 +01:00
Ivan Pusic
719d5b48af replace compile with implementation in build.gradle 2019-03-20 22:35:33 +01:00
Zhuoli Zhang
bad96176cd fix ios camera with cropping not reject on cancel cropping (#954)
* fix ios camera with cropping not reject on cancel cropping

* cancel properly from opencropper
2019-03-20 22:28:03 +01:00
Ivan Pusic
23ffafa2c4 upgrade example project to react-native 0.59 2019-03-20 22:04:56 +01:00
Danilo Bürger
352b7b6b2d Remove images from npm bundle (#960) 2019-03-17 09:17:18 +01:00
Ivan Pusic
4c94c5f0ec android libs and package.json version bump v0.23.0 2019-02-28 00:42:27 +01:00
Ivan Pusic
e5ec520816 (android) simplify options parsing 2019-02-28 00:29:32 +01:00
Ivan Pusic
43740398f4 (android) cropping and resizing improvements 2019-02-28 00:26:27 +01:00
Serge Lebedev
e2aaa5a8d4 Make example config valid json (#927) 2019-01-26 23:49:21 +01:00
mieszko4
e50f7dd995 Simplify includeBase64 (#918)
If `image.data` is already base64 encoded string, why do we need this wrapper?
The proposed change worked for me on ios and android.
2019-01-19 15:05:39 +01:00
Ivan Pusic
c188889b12
Update README.md 2019-01-19 02:13:16 +01:00
Ivan Pusic
161f7ec56d version bump v0.22.0 2019-01-18 22:19:17 +01:00
Ivan Pusic
e5622719c2
(feature) video recording (#917)
* Android: Add video recording support

- Caveats:
  - Wont work if cropping is enabled
- Video recording will be used if mediaType is set to 'video'
  - Mediatype any is not supported since there is no standard intent for capture image or video

* IOS: Add video recording support

- Caveats:
  - Cropping does not work

Video recording will be enabled if mediaType is set to `video` or `any`. Note: With any the native ui
allows the user to choose whether to take a photo or record a video. This differs from android where
mediaType any will just allow taking photos.

* IOS: Set camera video quality to high

* Update README.md (#851)

* Update PickerModule.java (#862)

Fix for default values being kept when calling cropPicker from multiple locations.

Now default values if not passed will be reverted to default.

* version bump

* Add front camera support for android (#876)

* Add front camera support for android

* Update readme

* Update readme

* Update README.md

* Added missing flags to support front camera on some android phones (#891)

* Remove problematic step from manual post-install steps (#821)

* (ios) fix images are not resized after cropping. Fixes #843

* (ios) add example project xcshareddata

* (ios) fixes for camera recording. updated example project with camera recording. updated readme with camera recording

* unify ios and android camera response. Fixes #872
2019-01-18 22:17:23 +01:00
Ivan Pusic
2eeaf0c9bc (ios) add example project xcshareddata 2019-01-18 19:42:00 +01:00
Ivan Pusic
16f435a32a (ios) fix images are not resized after cropping. Fixes #843 2019-01-18 19:41:41 +01:00
Michael Diodone
e1f4fa4371 Remove problematic step from manual post-install steps (#821) 2018-12-07 09:19:03 +01:00
juanjonucleus
104d32cba1 Added missing flags to support front camera on some android phones (#891) 2018-11-30 12:35:12 +01:00
Ivan Pusic
36e8056fbe
Update README.md 2018-11-19 11:14:05 +01:00
Oleh Misuna
de3a52c41c Add front camera support for android (#876)
* Add front camera support for android

* Update readme

* Update readme
2018-11-09 14:04:45 +01:00
Ivan Pusic
6a39898355 version bump v0.21.3 2018-10-25 11:25:40 +02:00
bartoszwolski
407ffdf837 Update PickerModule.java (#862)
Fix for default values being kept when calling cropPicker from multiple locations.

Now default values if not passed will be reverted to default.
2018-10-25 11:23:24 +02:00
Ali Piry
51ed43f511 Update README.md (#851) 2018-10-16 18:34:50 +02:00
Ivan Pusic
57844b6388 version bump v0.21.2 2018-09-19 16:15:39 +02:00
Ivan Pusic
b7abb626be
Diegolmello master (#834)
* [FIX] Poor image quality after cropping

* Update README.md (#826)

Add optional configuration details about default ios text button for the camera and the gallery

* [IMPROVEMENT] fix android cropping height condition. update podfile lock
2018-09-19 16:15:00 +02:00
Ishigamii
07d321e3bc Update README.md (#826)
Add optional configuration details about default ios text button for the camera and the gallery
2018-09-15 09:51:01 +02:00
Ivan Pusic
1eb4412300
Update README.md 2018-09-07 10:30:37 +02:00
Andrew Shini
a0e7f820c6 Fall back to writing to file if _data column does not exist (#817)
* Fall back to writting to file if _data column does not exist

* Fix spelling
2018-09-07 10:28:44 +02:00
Miguel
fab0164e1b Fix typo on example (#809) 2018-08-30 17:50:20 -04:00
Chris Bobbe
59a24d6e4c Set options.networkAccessAllowed = YES in getVideoAsset to prevent freezing when attempting to get videos stored in the cloud (#772) 2018-08-22 14:24:52 +02:00
Ivan Pusic
b3256e3498
add license scan 2018-08-22 13:38:17 +02:00
Ivan Pusic
5574eedc7d [DEVOPS] Version bump v0.21.1 2018-08-21 15:22:46 +02:00
Andrew Shini
7efad7be4e Revert to compile (#796) 2018-08-21 15:22:08 +02:00
Ivan Pusic
8dc19649e5 [DEVOPS] version bump v0.21.0 2018-08-20 14:34:29 +02:00
Miguel
729e1caed3 Adds forceJpg flag to convert live photos (#791)
* Adds property to filter live photos

* Force JPG image conversion

* Renames forceJPG -> forceJpg
2018-08-20 14:33:06 +02:00
justindressler
e3eb95d2ec Change screen orientation so android will detect and change to match screen fixes issue #733 (#766) 2018-08-20 13:23:13 +02:00