69 Commits

Author SHA1 Message Date
Ivan Pusic
9f5e8ff67d
(ios) remove rskimagecropper 2020-05-09 23:15:54 +02:00
Ivan Pusic
aef83f98d1
read sdk version from config for example project 2020-05-02 01:31:08 +02:00
Ivan Pusic
2423efd7b1
upgrade ucrop to support androidx and sdk 29 2020-05-02 01:16:55 +02:00
Ivan Pusic
1ddd03e5a9
support for android sdk 29 (#1284)
* Switch Android SDK 29 deprecated methods to alternatives (ivpusic#1110)

Android SDK 29 deprecated the following method for getting external directories
that we use repeatedly.
https://developer.android.com/reference/android/os/Environment#getExternalStoragePublicDirectory(java.lang.String)

I converted the various use cases to use the suggested alternative in
the Context API.
https://developer.android.com/reference/android/content/Context.html#getExternalFilesDir(java.lang.String)

* Updated podspec

* Added iOS 13 DarkMode for picker (#1129)

* Update README.md

* version bump

* Removed isMovingToParentViewController so scroll to bottom works (#1137)

* Fix deprecated RCTImageLoader.h import (#1142)

* upgrade example project to react-native 0.61

* version bump

* Update README.md

* Fix crash after video recording in ios13 & xcode11 (#1145)

* Fix crash after video recording in ios13 & xcode11

UI-related code should run in main thread, as exception says:

`Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'threading violation: expected the main thread'`

* Typo fix

* Fix xCode warnings about main thread execution (#1146)

This kind of warnings also presents in output console if Main Thread Checker is active

* ignore iml files

* version bump

* Fix typo (#1150)

Changed the word "noticable" to "noticeable".

* update type (#1200)

* CocoaPods - Properly Interpolate Tag Version (#1174)

Why?
* Ruby uses `"` quotes when interpolation is required.  Using `'` will mean `v#{version}` 
  is used directly rather than providing the version number.

Changes:
1. User Ruby string interpolation when setting the tag version for the source.

* small typing improvements

* version bump

* fix typings for writeTempFile

* version bump

* (ios) changing images sort order

* upgrade react-native-cli

* using local QBImagePicker as podspec

* Update README.md (#1265)

Clarify that avoidEmptySpaceAroundImage option is (ios only)

* testing with sdk 29

* update yarn.lock

* version bump

Co-authored-by: Phil Simmons <phil@flyclops.com>
Co-authored-by: Yury Korzun <yury@flyclops.com>
Co-authored-by: cr1s3c <yannre1210@gmail.com>
Co-authored-by: Filipe Merker <filipesmerker@gmail.com>
Co-authored-by: Artur Eshenbrener <strate@yandex.ru>
Co-authored-by: Suraneti Rodsuwan <suraneti.rod@gmail.com>
Co-authored-by: mikunimaru <43168745+mikunimaru@users.noreply.github.com>
Co-authored-by: Peter Lucak <login@peterlucak.com>
Co-authored-by: Ivan Pusic <ivpusic@users.noreply.github.com>
Co-authored-by: Mujtaba F. Radhi <al.mujtaba@hotmail.com>
2020-05-02 00:21:48 +02:00
Ivan Pusic
9278de8931
using local QBImagePicker as podspec 2020-01-28 14:56:46 +01:00
Ivan Pusic
0fba817a97
upgrade react-native-cli 2020-01-19 22:45:20 +01:00
Ivan Pusic
d51e089c2d
(ios) changing images sort order 2020-01-19 22:18:34 +01:00
Ivan Pusic
f12326b59c
upgrade example project to react-native 0.61 2019-10-11 22:59:56 +02:00
Ivan Pusic
08aa94c463
finishing support for react-native 0.60 2019-07-11 23:52:42 +02:00
Ivan Pusic
b55bc5b1bc
example project support for android 9 2019-05-10 14:16:25 +02:00
Ivan Pusic
23ffafa2c4 upgrade example project to react-native 0.59 2019-03-20 22:04:56 +01:00
Ivan Pusic
4c94c5f0ec android libs and package.json version bump 2019-02-28 00:42:27 +01:00
Ivan Pusic
e5ec520816 (android) simplify options parsing 2019-02-28 00:29:32 +01:00
Ivan Pusic
43740398f4 (android) cropping and resizing improvements 2019-02-28 00:26:27 +01:00
Serge Lebedev
e2aaa5a8d4 Make example config valid json (#927) 2019-01-26 23:49:21 +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
Ivan Pusic
2eeaf0c9bc (ios) add example project xcshareddata 2019-01-18 19:42:00 +01:00
Ivan Pusic
16f435a32a (ios) fix images are not resized after cropping. Fixes #843 2019-01-18 19:41:41 +01:00
Ivan Pusic
b7abb626be
Diegolmello master (#834)
* [FIX] Poor image quality after cropping

* Update README.md (#826)

Add optional configuration details about default ios text button for the camera and the gallery

* [IMPROVEMENT] fix android cropping height condition. update podfile lock
2018-09-19 16:15:00 +02:00
Miguel
fab0164e1b Fix typo on example (#809) 2018-08-30 17:50:20 -04: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
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
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
Ivan Pusic
c6d43b7fe5 (ios) Add podspec support 2018-03-05 23:15:09 +01:00
Ivan Pusic
b01a3504d9 upgrade android to support latest version 2017-12-07 01:54:25 +01:00
Ivan Pusic
e256d72c61 version bump. rn upgrade for example project 2017-12-05 02:23:04 +01:00
Ivan Pusic
b47232befa (android) Android 8 support 2017-10-21 22:13:09 +02:00
Ivan Pusic
08077b2c83 (ios) fix deprecation related to requiresMainQueueSetup 2017-10-12 21:58:38 +02:00
Ivan Pusic
d3da5de487 extract exif data from image 2017-09-27 20:26:09 +02:00
Ivan Pusic
6f24955b80 0.47 backward compatibile android support 2017-08-09 13:55:55 +02:00
Ivan Pusic
ff18678081 release 0.14.2 2017-07-25 19:35:21 +02:00
Ivan Pusic
b8ae847074 (android) upgrade to latest package versions 2017-06-24 00:41:29 +02:00
Ivan Pusic
c483a3f2f0 (android) fix resolving external storage paths 2017-03-06 11:14:02 +01:00
Ivan Pusic
f340f358e9 configurable waiting for animation completion 2017-03-03 02:26:25 +01:00
Ivan Pusic
007068555e (ios/android) cropping only improvements 2017-02-08 12:28:48 +01:00
Ivan Pusic
7ca2e0b62d rn 0.40 support 2017-01-19 23:43:22 +01:00
Ivan Pusic
c03895ca8e [FEATURE ios/android] Configurable compression 2016-12-29 16:41:41 +01:00
Ivan Pusic
6c29fb2291 (ios/android) Update exapmle project to latest RN version. Update example project to include circular cropper overlay. Bump version 2016-12-18 22:30:15 +01:00
Eduardo Sganzerla
87dd9ad6fc add support to cropperCircleOverlay on iOS 2016-12-18 17:08:36 -02:00
Ivan Pusic
65f3eccd42 (Android) Permissions cleanup 2016-12-06 00:57:59 +01:00
Ivan Pusic
757db5aee9 version bump 2016-11-16 23:13:13 +01:00
Ivan Pusic
8c770b9f14 (Android) Fixing Camera on Android SDK 24+ 2016-11-06 20:55:02 +01:00
Ivan Pusic
d6c023fbed (Android) Asking user for camera/storage permissions 2016-10-13 20:47:28 +02:00
Ivan Pusic
6d59b8408a (Android) Fix example project build 2016-09-28 16:17:23 +02:00
Vitaly Rotari
0c1f1e4f90 (iOS) iCloud photos support 2016-09-28 11:39:59 +02:00
Ivan Pusic
adb6542e63 using the same error code format for ios/android 2016-09-12 23:02:58 +02:00
Ivan Pusic
67241b9ca5 RN 0.33 Support 2016-09-11 21:37:40 +02:00
Ivan Pusic
457c0efbd5 [FEATURE] Video support 2016-09-11 18:49:44 +02:00
Ivan Pusic
1096f22843 Option to cleanup tmp directory 2016-09-07 21:41:31 +02:00
Ivan Pusic
1b08b6046f (iOS) Added BITCODE_GENERATION_MODE = bitcode to frameworks 2016-09-06 20:36:00 +02:00