Janic Duplessis
707a9e4222
Move default theme to ImagePickerModule
2019-08-02 00:27:39 -04:00
Janic Duplessis
48869a0e08
Add @NativeModule annotation
2019-08-02 00:21:20 -04:00
Johan
11dcf311b7
V1.0.1 ( #1120 )
...
refactor: Replace JavaScript with TypeScript and AndroidX support
2019-07-09 10:09:00 +01:00
Jamie Curtis
e6c64ea1b5
Set this.callback before permissionsCheck so that permissionDenied dialog doesn't crash when trying to call the callback ( #808 )
2018-10-03 15:15:01 -04:00
Himanshu Kushwah
6d24702205
Update ImagePickerModule.java to fix multiple tap on upload image button crash ( #782 )
...
* Update ImagePickerModule.java
when multiple time image picker open is clicked doOnCancel() function cause app crash.
updated to handle case when callback is null.
* Update ImagePickerModule.java
2018-10-02 15:50:24 -04:00
David Alexander Bjerremose
694fa1de5c
Fix permission issue ( #848 )
2018-05-13 10:33:49 -07:00
Aaron Trank
d25c17f3ed
Add support for KitKat (API level 19) ( #583 )
2017-09-05 17:29:34 -04:00
cani1see
f37d925085
null checker for some old phones ( #621 )
2017-09-05 10:10:37 -04:00
Eugene Sokovikov
a95cbe6504
disable permission dialog when permissionDenied=null ( #622 )
2017-09-05 09:58:35 -04:00
Alexander
e644eac84f
[ ANDROID ] Added support of storageOptions key ( #513 )
...
* Fixed saving photo path
* Removed Logs
* Recovered Example
* NOTES:
* Refactored onActivityResume
* Added first test
* Updated PULL REQUEST TEMPLATE
2017-04-11 19:59:46 -04:00
Kevin Cooper
f5d379f8b1
Allow saving to camera roll on Android ( #516 )
...
* Allow saving to camera roll on Android
* Move the new file so it also works for files that aren't resized
2017-03-19 14:18:03 -04:00
egpast
646e427633
Android: fix cancellation handling ( #506 )
...
- This was broken by #496 .
- Currently, the response object is empty, lacking the `didCancel` flag.
2017-03-10 12:04:29 -05:00
Alexander
92e35a6ea2
Fixed minimal version for FileProvider ( #500 )
2017-03-07 18:58:23 -05:00
Alexander
7eaa65dc6d
[ANDROID] Refactoring of Code plus bug fixes ( #496 )
...
* Fixed issue#485
Fixed issue#478
* Removed useless file
* Recoverd options for launchCamera and launchImageLibrary
2017-03-04 15:52:57 -05:00
Alexander Ustinov
b53f930a31
Cleaned up showImagePicker logic
2017-02-24 11:22:33 +07:00
Alexander Ustinov
e6b6c3c6e4
Leading to the same code style
2017-02-20 00:57:07 +07:00
Marc Shilling
483f9bd61f
oops
2017-02-17 08:48:05 -05:00
Marc Shilling
5afc66ea54
some changes
2017-02-16 23:02:20 -05:00
Alexander Ustinov
a5ef4df07a
Removed Logs
2017-02-06 23:27:12 +07:00
Alexander Ustinov
a5fd097f6d
Added support Android higher 6.0
...
Implemented of getting real path from react-native-image-crop-picker
Extended react-native-image-crop-picker real path
2017-02-01 18:27:05 +07:00
Marc Shilling
776ca61db3
we now support AND REQUIRE React Native version > 0.40
2017-01-10 21:54:18 -05:00
Marc Shilling
03b66f956d
use holo light dialog theme
2016-11-30 12:32:34 -05:00
Jesse Sessler
5bddf80868
Send originalRotation in response ( #388 )
...
* Send originalRotation in response
* Remove originalRotation from ios response
2016-11-28 14:38:02 -08:00
Kelvin Liang
1c7e53d3ce
make the resized image not being stretched
2016-11-19 11:02:24 -04:00
Yoann FUKS
61801bb71b
[Android] #343 + robustness code
2016-10-14 16:43:29 +02:00
Marc Shilling
4d6f5c2a77
make request codes 16 bit ints
2016-09-28 12:11:30 -04:00
Marc Shilling
16a48d59b5
make request codes more unique
2016-09-22 09:07:17 -04:00
Marc Shilling
f370ac8789
decode file after resizing to get the new width and height
2016-09-16 12:36:44 -04:00
Josh Swan
c5761829f1
Fix empty initialWidth and initialHeight [Android] ( #315 )
2016-09-16 09:34:28 -04:00
Marc Shilling
05309a82c5
support for RN 0.33 with backwards compatibility
2016-09-13 13:24:09 -04:00
Marc Shilling
9d227c0b37
save images to cache unless storageOptions key is provided
2016-09-08 16:58:36 -04:00
Andrew Shini
0fdea9cd64
Use array for custom buttons to ensure order ( #296 )
...
* Use array for custom buttons
* Remove space
* Import Log
2016-08-30 13:02:53 -04:00
yao
822df7e7ae
ios save video,android bug when save photo/video ( #292 )
...
* Update ImagePickerManager.m
Don't save the photo when it is selected from photo library.
Save the video to camera roll when it is selected from camera while storageOptions.cameraRoll is true.
* Update ImagePickerModule.java
There is a bug in some android versions when saving a photo or video to sd card, the photo/video will not appear in the Gallery app.
2016-08-24 12:08:30 -04:00
Ivan Pusic
85257f7292
simplity "if"
2016-08-10 10:36:41 +02:00
Marc Shilling
4b2eb555ea
add comment
2016-07-29 11:47:25 -04:00
Dmitry Gladkov
146cf6ee56
implement empty onNewIntent method to fix #275
2016-07-29 15:40:49 +03:00
Marc Shilling
32dbd290b0
remove allowsEditing option from Android
2016-07-19 15:20:27 -04:00
Marc Shilling
86d877e574
protect against null custom buttons
2016-07-05 10:49:09 -04:00
Mark Vayngrib
32ee302a51
set default opts for showImagePicker from javascript
2016-06-27 13:39:03 -04:00
yfuks
d7f265f36b
[Android] fix quality issue
...
#240
This should fix the issue.
@doc: http://stackoverflow.com/a/4822358
2016-06-26 14:09:16 +02:00
Saturnyn
4a85c65f27
fix crash after using the camera
...
https://github.com/marcshilling/react-native-image-picker/issues/227
2016-06-12 12:11:43 +07:00
Marc Shilling
b0730b4a64
UTC timestamp in ISO format
2016-06-10 13:42:03 -04:00
npomfret
4ee547cb05
Do not include extraneous timestamp field, and do not include gps data if its not available.
2016-06-10 17:17:11 +01:00
npomfret
de1c958e72
* Changed the type of the gps data to be numbers
...
* Added a 2nd timestamp field which is the millis since 1970
2016-06-10 09:17:14 +01:00
Marc Shilling
ec41c95212
run time permissions for android API 23
2016-06-09 14:56:32 -04:00
Daniel Andrews
642ff19a52
Add latlng and timestamp to image picker response
2016-05-30 15:49:09 -05:00
Yoann Fuks
e4c25ef85d
Merge pull request #203 from Keepsite/android-4.1-camera-support
...
Adding support to take photo on Android API 16. PackageManager.FEATUR…
2016-05-11 16:56:59 +02:00
Andrew Shield
9982e35547
Adding support to take photo on Android API 16. PackageManager.FEATURE_CAMERA_ANY does not exist on API 16.
2016-05-11 15:05:06 +01:00
yfuks
c76911a905
[Android] add path to video info
2016-05-11 15:40:28 +02:00
yfuks
f2761a41ec
[Android] return an error if camera isn't available in launchCamera method
2016-04-18 21:11:33 +02:00