diff --git a/README.md b/README.md index f0bf373..7fbe84b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # react-native-image-crop-picker -iOS/Android image picker with support for camera, video compression, multiple images and cropping +iOS/Android image picker with support for camera, configurable compression, multiple images and cropping ## Result diff --git a/ios/ImageCropPicker.m b/ios/ImageCropPicker.m index a8c20a3..35dafcf 100644 --- a/ios/ImageCropPicker.m +++ b/ios/ImageCropPicker.m @@ -48,9 +48,8 @@ RCT_EXPORT_MODULE(); @"width": @200, @"height": @200, @"useFrontCamera": @NO, - @"compressQuality": @0.8, - @"compressMaxWidth": @0, - @"compressMaxHeight": @0, + @"compressImageQuality": @1, + @"compressVideoPreset": @"MediumQuality", }; self.compression = [[Compression alloc] init]; } diff --git a/package.json b/package.json index c3c0b97..a9c454e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-image-crop-picker", - "version": "0.10.9", + "version": "0.11.0", "description": "Select single or multiple images, with croping option", "main": "index.js", "scripts": {