55 Commits

Author SHA1 Message Date
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
deathemperor
63e6f71db1 fixed a bug when using openCamera with [multiple: true]
related issue: https://github.com/ivpusic/react-native-image-crop-picker/issues/353
2017-07-20 11:41:49 +07:00
Ivan Pusic
b8ae847074 (android) upgrade to latest package versions 2017-06-24 00:41:29 +02:00
GNarek
1f27482988 Update PickerModule.java
As type of activeWidgetColor is int and type of DEFAULT_TINT is String it's causing error like: int cannot be dereferenced
2017-06-08 15:56:05 +04:00
Sahil Prajapati
a640c51567 Replace cropperTintColor with cropperActiveWidgetColor 2017-05-31 15:37:29 +05:30
Sahil Prajapati
da90c3363d Add options to control statusbar, toolbar and active widget color 2017-05-31 15:30:42 +05:30
André Vargas
81be2bd3b5 #283 (android) Create DIRECTORY_PICTURES if it doesn't exist 2017-04-06 14:19:50 -03:00
Olli Jaakkola
3d12a4510d (android) Add 'hideBottomControls' & 'enableRotationGesture' -options 2017-04-03 23:24:05 +03:00
Olli Jaakkola
f7dc45c45d Add possibility to hide crop guidelines 2017-04-03 14:10:23 +03:00
Andrew Shini
228bcaaea0 Add mediaType for Android 2017-03-13 22:42:05 +10:00
Ivan Pusic
2b04e10b4f (android) more efficient bitmap decoding 2017-03-07 10:00:20 +01:00
Andrew Shini
76680cf32b Fix resolving external storage paths 2017-03-07 13:20:55 +10:00
Ivan Pusic
c483a3f2f0 (android) fix resolving external storage paths 2017-03-06 11:14:02 +01:00
Andrew Shini
ab61ed3cae Fix multiple mime types 2017-02-24 19:23:28 +10:00
Jesse Harlin
20dadc178b Synchronized to notifyProblem in ResultCollector 2017-02-15 19:43:22 -06:00
Ivan Pusic
007068555e (ios/android) cropping only improvements 2017-02-08 12:28:48 +01:00
Maxime Mezrahi
af3ed8a4d1 openCropper method added 2017-02-07 15:00:39 -05:00
Ivan Pusic
4de3fa4fd3 (Android) If compression settings are not provided, skip compression 2017-01-07 14:56:14 +01:00
Ivan Pusic
c03895ca8e [FEATURE ios/android] Configurable compression 2016-12-29 16:41:41 +01:00
Eduardo Sganzerla
611de3dbd8 Update PickerModule.java 2016-12-16 12:05:55 -02:00
Eduardo Sganzerla
b586cec00d add support to uCrop setCircleDimmedLayer()
set the setCircleDimmedLayer to "cropCircleOverlay" option on react-native.
2016-12-16 12:01:21 -02:00
Ivan Pusic
b3494ad5be (Android) Add default write permission to manifest 2016-12-06 18:31:33 +01:00
Ivan Pusic
36f5816af9 (Android) Ask for required permissions 2016-12-06 01:20:37 +01:00
Ivan Pusic
65f3eccd42 (Android) Permissions cleanup 2016-12-06 00:57:59 +01:00
Sean Holbert
77dc7f2c5a Allow user to specify brand color for cropper
- Default colors for the cropper are less aggressive (not UCrop's orange)
- If cropperTintColor is passed in, this overrides status bar, toolbard, and widget UX items.
2016-11-17 17:28:48 -08:00
Ivan Pusic
b51f9160f1 (Android) Use lower request codes 2016-11-09 12:28:59 +01:00
Ivan Pusic
8c770b9f14 (Android) Fixing Camera on Android SDK 24+ 2016-11-06 20:55:02 +01:00
GJS
b8d1b12d8c add if (mPickerPromise == null) to croppingResult just like other result calling:imagePickerResult 2016-11-05 17:19:10 +08:00
kylejones
d29285a4d6 Setting ActivityEventListener requestCodes to large ints to prevent collisions with other modules 2016-10-14 18:56:36 -05:00
Ivan Pusic
d6c023fbed (Android) Asking user for camera/storage permissions 2016-10-13 20:47:28 +02:00
nickythorne
6bc5b2d9c8 Changed permission check to use react native request permission and added permission listener to handle async permission requests. 2016-10-13 11:43:41 +01:00
Ivan Pusic
be66ad165c (Android) remove useSupportLibrary 2016-09-16 13:36:23 +02:00
Ivan Pusic
adb6542e63 using the same error code format for ios/android 2016-09-12 23:02:58 +02:00
Ivan Pusic
394a1c2698 (Android) add useSupportLibrary 2016-09-11 21:46:17 +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
54906ee8ca (iOS) Added pre-built framework dependencies 2016-09-02 14:18:32 +02:00
Ivan Pusic
e0f0745954 [iOS/Android] RNPM support. Dropped cocoa-pods support 2016-08-26 01:04:38 +02:00
Ivan Pusic
79d3dab7e5 [Android] Cleanup PickerModule 2016-08-11 23:45:33 +02:00
Tingshen Yan
8d21b8b503
added camera support for react-native-image-crop-picker 2016-08-09 18:23:57 -07:00
Ivan Pusic
77f71bcdad improvements for includeBase64 flag feature 2016-08-05 20:41:03 +02:00
Jérémy Magrin
696ea848a1 Add base64 option 2016-08-05 16:08:16 +02:00
Jérémy Magrin
5c8b7f2fa7 Add data base64 for android 2016-08-05 11:21:17 +02:00
Ivan Pusic
b5f6acf1ca [Android] Using inJustDecodeBounds when decoding file 2016-07-30 13:54:06 +02:00
Ivan Pusic
5d3b7672f3 [ANDROID] Upgrade to RN 0.30 2016-07-27 02:30:48 +02:00
Ivan Pusic
7c3090b023 [ANDROID] fix image size info 2016-07-26 01:13:22 +02:00
Ivan Pusic
cb79ffc98f [ANDROID] show only local files 2016-07-24 01:17:43 +02:00
Andrew Shini
35163098e8 Use better function to get real path 2016-07-03 11:50:28 +10:00
Ivan Pusic
234b0f385b (ios) fix showing picker when modal is opened 2016-06-29 23:43:14 +02:00