96 Commits

Author SHA1 Message Date
Wilson
326e1809ba (android) add showCropFrame option (#972) 2019-03-28 23:54:18 +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
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
Michael Diodone
e1f4fa4371 Remove problematic step from manual post-install steps (#821) 2018-12-07 09:19:03 +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
Ali Piry
51ed43f511 Update README.md (#851) 2018-10-16 18:34:50 +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
Ivan Pusic
b3256e3498
add license scan 2018-08-22 13:38:17 +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
Ivan Pusic
097956b288
Update README.md 2018-07-18 13:13:14 +02:00
mansya
eb471cc736 Add new logo/icon (#768)
* Upload new logo

* Add new logo to README

* Add new to mipmap hdpi

* Add new to mipmap mdpi

* Add new to mipmap mdpi

* Add new to mipmap mdpi

* add new to mipmap mdpi

* Add new to mipmap mdpi

* Add new to mipmap mdpi

* Add new to mipmap mdpi

* Add new to mipmap xhdpi

* Add new to mipmap xhdpi

* Add new to mipmap xhdpi

* Add new to mipmap xhdpi

* Add new to mipmap xxhdpi

* Add new to mipmap xxhdpi

* Add new to mipmap xxhdpi

* Add new to mipmap xxhdpi

* Add new to mipmap xxhdpi

* Add new to mipmap xxhdpi

* Add new to mipmap xxhdpi

* Upload new logo svg

* Update README with new logo

* delete

* Upload New logo svg

* Update README
2018-07-18 13:10:25 +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
ad5357b0a2 Reduce size of default compressed files, update README (#736) 2018-06-26 10:20:26 +02:00
Ivan Pusic
d7bef85a32
Update README.md 2018-05-24 13:39:14 +02:00
Ivan Pusic
3d166ed6d0
Update README.md 2018-05-17 17:21:22 +02:00
Ivan Pusic
15f270732b
Update README.md 2018-05-17 17:20:31 +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
khrizt
b5520cc7cb Flag to disable color setters fro Ucrop (#662)
* Disabled cropper color assigning from code in Module

* Disable cropper color setters with a variable flag

* Update README
2018-03-27 11:53:43 +02:00
Ivan Pusic
62014a9873
Update README.md 2018-03-06 10:54:35 +01:00
Ivan Pusic
700c3cdfcd
Update README.md 2018-03-05 23:35:06 +01:00
Ivan Pusic
c6d43b7fe5 (ios) Add podspec support 2018-03-05 23:15:09 +01:00
Nikola Ravic
bcb9cfda1e Updated readme.md (#621)
Added freeStyleCropEnabled option info in readme file
2018-02-22 11:14:22 +01:00
Sam
35a6aa9851 Hint full path to AndroidManifest.xml (#617) 2018-02-19 13:13:45 +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
Ivan Pusic
ed449276ed
Update README.md 2018-02-01 10:17:41 +01:00
Ivan Pusic
b21952feb4
Update README.md 2018-02-01 10:13:55 +01:00
Ivan Pusic
025cfe55a6
add link to supported smart albums values 2018-01-09 18:11:08 +01:00
Ivan Pusic
6a0528abc8
move smart album types to dedicated section 2018-01-09 18:10:08 +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
Ivan Pusic
0c2c2746fa
add docs for cropRect response object 2017-12-07 02:03:09 +01:00
Ivan Pusic
ee3ccdf575 readme cleanup 2017-12-07 01:50:54 +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
Ivan Pusic
1476fd80aa
Update README.md 2017-12-07 01:28:51 +01:00
Ivan Pusic
6f161a8307
Update README.md 2017-12-06 16:14:47 +01:00
Andrew Shini
4428eeea18 Add to do (#537)
* Add to do

* Fix markdown

* Update readme
2017-12-06 16:13:53 +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
Ricardo Fuhrmann
b34b43654f [Android] Add option to set the cropper toolbar title (#521)
* Add option to set the cropper toolbar title

I needed to change the toolbar title but didn't know any other way so I thought about adding this functionality. Currently, as my knowledge is limited to java, this is currently only available for Android.

Example usage:

```
ImagePicker.openCropper({
    path: 'image.png',
    width: 800,
    height: 800,
    cropperToolbarTitle: 'Please, crop your photo',
})
```
If no title is provided, the default one from the library will be used.

* Update docs
2017-11-26 02:11:13 +01:00
Ivan Pusic
d3da5de487 extract exif data from image 2017-09-27 20:26:09 +02:00
asood123
a233a977c5 Activating Open Collective (#462)
* Added .github/ISSUE_TEMPLATE.md (optional)

* Added CONTRIBUTING.md (optional)

* Added backers and sponsors on the README

* Added call to donate after npm install (optional)
2017-09-25 23:48:44 +02:00
Jonathan Beckman
4db46ff77d Update README.md (#442)
removed word to correct grammer
2017-09-12 13:05:20 +02:00
Lee Brindley
a6e846ab75 Added video docs (#441)
Added additional example to the code snippets provided, showing how to select videos with the ImagePicker. 

Also documented the behaviour whereby having the prop 'cropping' set to true results in no videos being shown on Android. I have stated that this issue is known to have happened, rather than stating that it happens all the time, due to the relative poor test coverage across the broad spectrum of Android devices available.
2017-09-12 01:07:56 +02:00
Ivan Pusic
be03cead6b update installation instructions 2017-08-24 21:37:53 +02:00
Ivan Pusic
6525850999 Update README.md 2017-08-10 23:20:32 +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
CHEN Jiajie
296190e608 added minFiles option, and a new response called sourceURL 2017-08-04 15:23:59 +08:00