73 Commits

Author SHA1 Message Date
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
Ivan Pusic
69d3ed4504 Merge pull request #140 from theseansy/master
Allow choice of default camera (front vs. back) on iOS
2016-12-05 20:24:34 +01:00
Sean Holbert
0d5491feef Fixed bug where user couldn't cancel out of cropping 2016-11-17 10:55:19 -08:00
Sean Holbert
84b912cf4f Remove slide-down/slide-up animation between choosing image and cropping
Instead, cross-dissolve from image picker to cropper. User should feel continuous experience in taking/choosing picture to cropping.
2016-11-16 12:30:25 -08:00
Sean Holbert
26cc4a01b5 Allow choice of default camera (front vs. back) on iOS 2016-11-14 13:03:51 -08:00
Ivan Pusic
9db793daa3 (iOS) Run UI code on main thread 2016-11-14 20:35:51 +01:00
Ivan Pusic
7a039978fb (iOS) Deployment target set to 8.0 2016-09-28 23:47:19 +02:00
Vitaly Rotari
d6e2f7d2d1 # This is a combination of 9 commits.
# The first commit's message is:
Update ImageCropPicker.m

fix camera request exception iOS 10 #79

# This is the 2nd commit message:

Update ISSUE_TEMPLATE.md

# This is the 3rd commit message:

Try to add support of icloud image

# This is the 4th commit message:

Wrong param to PHImageRequestOptions

# This is the 5th commit message:

wrong setter name

# This is the 6th commit message:

Add Spinner when fetcting icloud image

# This is the 7th commit message:

change thread

# This is the 8th commit message:

Remove progressHandler

# This is the 9th commit message:

Fix Spinner don't appear when fecthing image form icould
2016-09-28 11:39:14 +02:00
Ivan Pusic
362126ba99 (iOS) Check if image data is present before processing it 2016-09-22 21:26:31 +02:00
Ivan Pusic
adb6542e63 using the same error code format for ios/android 2016-09-12 23:02:58 +02:00
Andrew Shini
e2ab3b03cd Merge remote-tracking branch 'ivpusic/master' into original-without-loader 2016-09-12 09:35:13 +10:00
Ivan Pusic
457c0efbd5 [FEATURE] Video support 2016-09-11 18:49:44 +02:00
Andrew Shini
acbd0963ac Add smart album version 2016-09-11 08:47:19 +10:00
Andrew Shini
31d90cc6eb Remove loader 2016-09-11 08:46:57 +10:00