305 Commits

Author SHA1 Message Date
Ivan Pusic
d0e583728c version bump v0.20.2 2018-05-16 18:21:39 +02:00
Ivan Pusic
874faa0aa1 (android) Upgrade ucrop to 2.2.2. Upgrade react-native for example project. Cleanup picker module 2018-05-16 18:20:58 +02:00
Theo de Villeneuve
4af61b49ea Add cloud support (Android) (#650)
* Add cloud support - workd in progress

* Fix extension issue

* Remove log, unused import

* Fix regression (MIME_TYPE for action_get_document)
2018-05-16 17:59:06 +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
Martin Richter
73b09e1486 Update TypeScript typings with some Android-only options (#684)
Several Android-only options were missing from the TypeScript `Options` interface, causing compiler warnings in client codebases when used.
2018-04-23 15:36:36 +02:00
Andrew Shini
fe1423d124 Fix orientations (#682) 2018-04-21 10:25:44 +02:00
Ivan Pusic
8395f734c3 version bump v0.20.1 2018-04-06 19:29:11 +02:00
chelongfei
9952bc9496 Update RNImageCropPicker.podspec (#656)
fix 'RCTBridgeModule.h' file not found
i found that in podsec, The lack of the  dependency about  'React/Core'
2018-04-06 10:57:47 +02:00
Andrew Shini
4059492e57 Fix space in file name (#666)
* Improve getMimeType to handle files with spaces in file name

* Check for null
2018-04-03 18:25:34 +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
Andrew Shini
971d64c286 Add more albums (#639) 2018-03-07 10:18:15 +01: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 v0.20.0 2018-03-05 23:15:09 +01:00
Nikola Ravic
ba4d84ede6 Added option to set free style crop for android. (#620)
As uCrop (on which this lib relies for Android) supports this feature I thought it would be very nice feature to have this.
2018-02-22 11:14:39 +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
785a6c86f3 version bump 2018-02-16 10:11:31 +01:00
Ivan Pusic
b3b9f0d7d7 (ios) Fix typo in Timelapses album v0.19.3 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
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
Ivan Pusic
7e91282162 version bump v0.19.2 2018-01-22 11:39:35 +01:00
Sergei Butko
56d1c69fc8 Added an flag to the gallery intent to prevent two instances of it (#582) 2018-01-22 10:17:14 +01:00
Jason Gaare
6bbfc643ed fix typo in creationDate property in response (#573) 2018-01-17 17:35:47 +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
Phil Gebauer
64d09baf94 Skip image compression when not desired (#554) 2018-01-05 17:08:55 +01:00
Ivan Pusic
9f3d8524ce version bump v0.19.1 2017-12-18 00:09:00 +01:00
Moriyuki Arakawa
25fe6d29ab add RSKImageCropper(project) to TargetDependency (#544) 2017-12-15 15:21:42 +01:00
Ivan Pusic
0c2c2746fa
add docs for cropRect response object 2017-12-07 02:03:09 +01:00
Ivan Pusic
f58abde626 version bump v0.19.0 2017-12-07 01:54:54 +01:00
Ivan Pusic
b01a3504d9 upgrade android to support latest version 2017-12-07 01:54:25 +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
Ivan Pusic
e256d72c61 version bump. rn upgrade for example project v0.18.2 2017-12-05 02:23:04 +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
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
822fbd7974
Create CODE_OF_CONDUCT.md (#510) 2017-11-17 01:13:00 +01:00
Sergei Butko
e6d0da5436 TypeScript 2.6.0 default export fix (#497) 2017-11-01 15:18:02 +01:00
Ivan Pusic
c44ce340e0 (android) remove dependency on support-annotations v0.18.1 2017-10-24 12:05:47 +02:00
Ivan Pusic
b47232befa (android) Android 8 support v0.18.0 2017-10-21 22:13:09 +02:00