96 Commits

Author SHA1 Message Date
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
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
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
Calvin Cheng
05662bef75 Added option to configure avoidEmptySpaceAroundImage (#765)
* Added option to configure avoidEmptySpaceAround image

* Added missing interface option

* Fixes uncasted bool value
2018-07-17 10:10:02 +02:00
Phil Gebauer
3059918074 Convert unknown file types to JPEG (#735) 2018-07-02 01:55:55 +02:00
Phil Gebauer
ad5357b0a2 Reduce size of default compressed files, update README (#736) 2018-06-26 10:20:26 +02:00
Ivan Stroganov
dfa5e5d0ca Add chooseText and cancelText properties: rebased (#699)
* Add cancel and choose buttons text properties

* Change props names to ‘cancelText’,’chooseText’

* Add cancel and choose buttons text props

* Fix properties names IOS

* Add cropper prefix and update readme
2018-05-16 11:43:03 +02:00
Andrew Shini
fe1423d124 Fix orientations (#682) 2018-04-21 10:25:44 +02:00
Andrew Shini
971d64c286 Add more albums (#639) 2018-03-07 10:18:15 +01:00
Ivan Pusic
c6d43b7fe5 (ios) Add podspec support 2018-03-05 23:15:09 +01:00
Ivan Pusic
b3b9f0d7d7 (ios) Fix typo in Timelapses album 2018-02-16 10:10:36 +01:00
David-Owen-Walker
182e5e17e8 custom label for iOS (#601)
* allow crop label on iOS

* remove 'android only' from cropperToolbarTitle

* make UILabel a property

* remove whitespace
2018-02-02 10:06:40 +01:00
Phil Gebauer
3418261f73 Add option for writing temporary file (#602) 2018-02-02 10:04:31 +01:00
Gareth McCall
edaf107aa8 French localization for iOS (#593)
* add French loc file for iOS

* Fixes french loc issue
2018-01-27 11:51:40 +01:00
Jason Gaare
6bbfc643ed fix typo in creationDate property in response (#573) 2018-01-17 17:35:47 +01:00
Dror Dim
6465d4e0bf Add support for all types of smart albums (selfies, time lapses, etc.) (#564)
* Add support for all types of smart albums (selfies, time lapses, screenshots, etc.)

* readme - add list of supported smart albums

* fix readme layout
2018-01-09 18:03:31 +01:00
Phil Gebauer
64d09baf94 Skip image compression when not desired (#554) 2018-01-05 17:08:55 +01:00
Moriyuki Arakawa
25fe6d29ab add RSKImageCropper(project) to TargetDependency (#544) 2017-12-15 15:21:42 +01:00
Ivan Magda
5633a99c4a Return cropped image rectangle (#458)
* android: Update ucrop version #457

Use latest uCrop version.

* Return cropped image rectangle #457

* Update README.md #457

Update Android installation instructions.
2017-12-07 01:47:38 +01:00
Dmitry Patsura
1b50731c3f [Fix] iOS: Remove *.h files from Compile Sources (#489) 2017-12-05 01:49:08 +01:00
Jason Gaare
b59db6bffa Add creation and modification date to response (#530)
* added creationDate and modificationDate to response object

added modificationDate to Android response

* Update Compression.m (#529)

Addition of passthrough preset option

Update README to include dates in response
2017-12-05 01:48:06 +01:00
Ethan Doh
a4a2247fef Update Compression.m (#529)
Addition of passthrough preset option
2017-12-01 10:19:59 +01:00
Ivan Pusic
08077b2c83 (ios) fix deprecation related to requiresMainQueueSetup 2017-10-12 21:58:38 +02:00
Ivan Pusic
d3da5de487 extract exif data from image 2017-09-27 20:26:09 +02:00
Arturs Jansons
dc41df7ab4 Change import priority of React/RCTBridgeModule.h (#437)
Fixes https://github.com/ivpusic/react-native-image-crop-picker/issues/436
2017-09-05 16:29:31 +04:00
Ivan Pusic
07f8763c97 (ios) removed podspec 2017-08-24 21:35:41 +02:00
Chaitanya Bhagvan
ba6df59d5b Add podspec (#409)
* Added a conditional include

Added a conditional include to handle compile if installed using podspec

* Podspec

Using https://github.com/ivpusic/react-native-image-crop-picker/pull/372 as reference added a podspec.

* Update README.md

Add steps to install using Cocoapods

* Update README.md

Add installation step using cocoapods

* Update README.md
2017-08-10 23:18:07 +02:00
Ivan Pusic
d0c481ec74 cleanup error codes 2017-08-10 00:03:50 +02:00
CHEN Jiajie
b4e17df95d bug fixed - check if the source URL is empty or nil 2017-08-04 18:17:50 +08:00
CHEN Jiajie
296190e608 added minFiles option, and a new response called sourceURL 2017-08-04 15:23:59 +08:00
Zayin Krige
787fd02046 Fix for crash on ios when selecting image
Dictionary was being created with nil values. Added nil check and initialize with empty string instead
2017-07-31 16:12:08 +02:00
Zayin Krige
d7bf02f2b3 Fix crash when taking photo from camera
Dictionary was being initialized with nil values which causes crash in Obj-C. I've put a ternary in that will send empty string values for the possible nil values
2017-07-31 15:30:39 +02:00
Źmicier Biesau
83add6fbe0 Merge remote-tracking branch 'upstream/master' 2017-07-25 16:21:40 +03:00
CHEN Jiajie
57e57c7ca6 returned localIdentifier and filename in response
localIdentifier is the unique id for each PHAsset and the filename of each file, and updated the README
2017-07-25 15:30:37 +08:00
Źmicier Biesau
fba3617b7b Memory clean added 2017-07-24 19:07:01 +03:00
竹上之霜
8416d56692 [iOS] Fix a bug that cause a {0,0} size image
-[origin] if ([maxWidth integerValue] == 0 || [maxHeight integerValue] == 0) {
-when pick a width< height image and only set "compressImageMaxWidth",will cause a {0,0}size image
-Now fix it
2017-07-20 15:38:06 +08:00
Jérémy Magrin
a80f5c7a8d Fix import 2017-07-10 09:28:33 +02:00
Ivan Pusic
b3e4dc3c63 (ios) when cancelling cropping, do not exit picker completely. Instead go back to select new image. 2017-06-29 01:28:36 +02:00
Hagen Hübel
8ad75d3602 Removed TeamID from projectfile 2017-06-26 12:45:57 +02:00
TZXZ
042af73248 fix orientation (iOS) 2017-05-03 09:49:16 +08:00
John C. Bland II
5a06142a98 Add podspec 2017-04-22 00:37:02 -05:00
Jake Hasler
41f9a77dab Update HEADER_SEARCH_PATHS to be more compatible 2017-04-16 20:59:14 -06:00
Jérémy Magrin
1acf41e2ff Fix RSKImageCropper build failed 2017-03-29 14:16:30 +02:00
Horcrux
ef68e61d97 Add mediaType and showsSelectedCount options for ios 2017-03-09 16:03:15 +08:00
Ivan Pusic
f340f358e9 configurable waiting for animation completion 2017-03-03 02:26:25 +01:00
Ben Clayton
992bd68a55 fix incorrect block method syntax. 2017-02-27 14:17:33 +00:00
Ben Clayton
04a25a1239 Fix two more cases where self.reject should be called after VC dismissal 2017-02-27 14:05:27 +00:00
Ben Clayton
f43da93636 Moved all self.resolve and self.reject calls into dismiss completion handlers. 2017-02-27 10:28:00 +00:00
Ben Clayton
57a78333e3 iOS openCamera: Wait for viewController to dismiss before resolving 2017-02-24 16:03:47 +00:00
Ivan Pusic
007068555e (ios/android) cropping only improvements 2017-02-08 12:28:48 +01:00