320 Commits

Author SHA1 Message Date
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
Ivan Pusic
08077b2c83 (ios) fix deprecation related to requiresMainQueueSetup v0.17.3 2017-10-12 21:58:38 +02:00
Ivan Pusic
8de94d0a1f remove opencollective from package.json v0.17.2 2017-09-28 10:16:25 +02:00
Ivan Pusic
2ccf0ffea4 version bump v0.17.1 2017-09-27 20:45:29 +02:00
Ivan Pusic
079e87ddae (android) update buildToolsVersion 2017-09-27 20:45:08 +02:00
Ivan Pusic
d3da5de487 extract exif data from image v0.17.0 2017-09-27 20:26:09 +02:00
Ivan Pusic
aa54cdc3e0 Update CONTRIBUTING.md 2017-09-25 23:53:44 +02:00
Ivan Pusic
fe54cf7872 Delete ISSUE_TEMPLATE.md 2017-09-25 23:50:48 +02:00
Ivan Pusic
b4410e8812 Update ISSUE_TEMPLATE.md 2017-09-25 23:50:36 +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
Huang
ee8fd5e035 Update index.d.ts to mute the error message (#460)
Try to mute the warning of "[ts] Module react-native-image-corp-picker has no default export"
2017-09-25 16:57:13 +02:00
Ivan Pusic
6fa3142e40 version bump v0.16.1 2017-09-12 19:30:26 +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
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
0809973326 version bump v0.16.0 2017-08-24 21:39:30 +02:00
Ivan Pusic
be03cead6b update installation instructions 2017-08-24 21:37:53 +02:00
Ivan Pusic
07f8763c97 (ios) removed podspec 2017-08-24 21:35:41 +02:00
Ivan Pusic
8aa334e1c0 version bump v0.15.3 2017-08-23 16:48:30 +02:00
Nadjib KHELIFATI
204f20bf89 Create another file for compressed picture with different name (#418)
* Create another file for compressed picture

For fix bug replace original image

* Update Compression.java
2017-08-23 16:19:42 +02:00
Nadjib KHELIFATI
54934f5e00 Use new version of id.zelory compressor package (#420)
Fix save file path issue of this package in this new version 2.1.0
2017-08-23 15:29:57 +02:00
Ivan Pusic
a2bd2fac1f version bump v0.15.2 2017-08-23 14:25:13 +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
Ivan Pusic
d0c481ec74 cleanup error codes v0.15.1 2017-08-10 00:03:50 +02:00
Ivan Pusic
43f05ac3bd version bump v0.15.0 2017-08-09 13:56:48 +02:00
Ivan Pusic
101d485f71 Merge branch 'master' of github.com:ivpusic/react-native-image-crop-picker 2017-08-09 13:56:11 +02:00
Ivan Pusic
6f24955b80 0.47 backward compatibile android support 2017-08-09 13:55:55 +02:00
Ivan Pusic
4b63f421e8 Merge pull request #408 from gameboyVito/fix-empty-sourceURL
bug fixed - check if the source URL is empty or nil
2017-08-04 12:21:59 +02:00
CHEN Jiajie
b4e17df95d bug fixed - check if the source URL is empty or nil 2017-08-04 18:17:50 +08:00
Ivan Pusic
6b79866963 Merge pull request #407 from gameboyVito/min-files
added minFiles option, and a new response called sourceURL
2017-08-04 11:23:31 +02:00
CHEN Jiajie
296190e608 added minFiles option, and a new response called sourceURL 2017-08-04 15:23:59 +08:00
Ivan Pusic
2651916845 Merge pull request #398 from Hizoul/patch-1
Fix Compilation Error in React Native 0.47.0
2017-08-01 20:24:10 +02:00
Hizoul
c240c37dfa Fix Compilation Error in React Native 0.47.0
createJSModules was removedin React Native 0.47.0 and results in the attached Build Error.
removing `@Override` fixes build (didn't remove function because I don't know if it should be kept for downard compatability?)

```
node_modules/react-native-image-crop-picker/android/src/main/java/com/reactnative/ivpusic/imagepicker/PickerPackage.java:18: error: method does not override or implement a method from a supertype
    @Override
    ^
Note: /home/mmb/git/climbz2/climbz-reactnative/node_modules/react-native-image-crop-picker/android/src/main/java/com/reactnative/ivpusic/imagepicker/PickerModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
:react-native-image-crop-picker:compileReleaseJavaWithJavac FAILED
```
2017-08-01 19:35:30 +02:00
Ivan Pusic
da7a89098b version bump v0.14.4 2017-07-31 16:42:04 +02:00
Ivan Pusic
54f139fb46 Merge pull request #397 from zkrige/patch-1
Fix for crash on ios when selecting image
2017-07-31 16:41:39 +02:00