86 Commits

Author SHA1 Message Date
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
Maxime Mezrahi
af3ed8a4d1 openCropper method added 2017-02-07 15:00:39 -05:00
Jeremy Gerrits
efcae93d22 fix for bad imports 2017-01-26 10:08:58 -05:00
Joe Ferraro
897d3f8b9d adds option to set loading label text 2017-01-23 17:03:10 -05:00
Ivan Pusic
9288d96529 (ios) round width/height when compressing 2017-01-20 00:03:10 +01:00
Ivan Pusic
7ca2e0b62d rn 0.40 support 2017-01-19 23:43:22 +01:00
陆晖
95f16eb2e6 support ios 8 2017-01-17 15:28:11 +08:00
Ivan Pusic
05fced30a9 (ios) Check if image permissions are granted 2016-12-30 01:53:01 +01:00
Ivan Pusic
ed5eb058cc bump version 2016-12-29 16:47:27 +01:00
Ivan Pusic
c03895ca8e [FEATURE ios/android] Configurable compression 2016-12-29 16:41:41 +01:00
Eduardo Sganzerla
87dd9ad6fc add support to cropperCircleOverlay on iOS 2016-12-18 17:08:36 -02:00