Commit Graph

139 Commits

Author SHA1 Message Date
gevorg94 fd306016eb pass overlayColor to selected image [android] 2017-06-30 11:40:14 +04:00
Lev Vidrak 3cf4831c40 Fixed resize image method - include source image’s keys that was not changed 2017-06-29 19:27:46 +03:00
Michal Glaus 429ccf22e7 Fix crash when changing flash mode on front camera
`getSupportedFlashModes` returns null for front camera on most devices.
2017-06-29 18:22:39 +02:00
Lev Vidrak 6295dd6c0f WOA-3924 - (Performance) Image uploading in feed post and chat is slo… (#45)
* WOA-3924 - (Performance) Image uploading in feed post and chat is slow - Added resizeImage functionality in Android

* Change resolution to be exactly like on iOS
2017-06-26 10:09:32 +03:00
Guy Carmeli 771b7cb030 Add missing recyclerview dependency 2017-05-30 13:21:32 +03:00
Artal Druk 604bc5bd2e provide image width and height on tap events 2017-05-28 14:42:34 +03:00
Sergey Ilyevsky bcd59eda46 Fixed size, width and height params on iOS for resized images. Added width and height on Android 2017-05-16 12:59:36 +03:00
Artal Druk 4fe138fe2a - support capture/retake mode on the full screen camera on Android
- delete the temp file (created in capture/retake) when canceled
2017-03-22 18:40:35 +02:00
Amit Davidi 28f28525c0 Android: Add gallery refresh hack to empty galleries to work around end use-cases 2017-03-19 12:11:16 +02:00
Amit Davidi a6ed80e65a Android: Fix nonrefreshing gallery after taking pictures 2017-03-15 09:48:16 +02:00
Amit Davidi 5a7139fc7f Android: restore scrollby(0) hack cause removing it didnt fix the bug 2017-03-08 16:57:26 +02:00
Amit Davidi 2e04bc4dc5 Android: Remove scrollBy(0) hack to try to fix scroll-to-top bug 2017-03-08 15:42:09 +02:00
Amit Davidi c2817a80f9 Android: Better sync data refreshing in hopes to fix scroll-to-top bug 2017-03-08 15:12:10 +02:00
Guy Carmeli efbdf6ddbc Rename method 2017-03-05 14:32:06 +02:00
Amit Davidi 9f3bf01e7c Android: Add comment to explain refreshing hack 2017-03-02 14:53:26 +02:00
Amit Davidi 997c7a8218 Android: Add a fix for a potential instability due to a layout-manager swap 2017-03-02 09:34:29 +02:00
Amit Davidi 9280b205f3 Android: Found potential hack-fix for empty recyclerview after album-switch 2017-03-01 22:52:41 +02:00
Amit Davidi b4cbdd4b1a Android: Reinstate code with previous album-switch bug 2017-03-01 22:25:56 +02:00
Amit Davidi de5be5e3ad Android: Fix numerous issues found in integ with media-manager 2017-03-01 22:15:06 +02:00
Amit Davidi 371e2b3ae6 Android: Change setter to expect an int as the custom-button bkg color instead of string 2017-03-01 12:37:02 +02:00
Amit Davidi ea139bfeff Android: rename selection props 2017-03-01 12:29:24 +02:00
Amit Davidi 2317e9191f Android: Allow for selection disabling state 2017-03-01 12:24:15 +02:00
Amit Davidi 1754c12cdd Android: Add support in selection image positioning and size-type 2017-03-01 09:19:58 +02:00
Amit Davidi 6cb87193de Android: Fix config/refreshData race causing config to be left out 2017-02-28 16:29:55 +02:00
Amit Davidi fd901d3bbe Android: Add support for custom-button on-press JS callback + refactoring and cleanup 2017-02-28 15:00:26 +02:00
Amit Davidi b9ab865cee Android: Fixed potential bug in gallery refreshing 2017-02-27 19:25:48 +02:00
Amit Davidi d0c4a3e267 Android: Generalize embedded camera feature to a custom button 2017-02-27 18:34:58 +02:00
Amit Davidi 7d1c490607 Cancel embedded camera button by-default usage 2017-02-27 16:12:18 +02:00
Amit Davidi bb251d6445 Android: Add support in optional embedding of camera button in gallery + empty-state preload fix 2017-02-27 13:45:23 +02:00
Guy Carmeli 3be6180817 Resolve requestAccess immediately if permissions are granted 2017-02-26 09:49:52 +02:00
Guy Carmeli 1a484680d9 Resolve requestAccess immediately if permissions are granted 2017-02-26 09:47:15 +02:00
Guy Carmeli eabfc122f9 Correct shared preferences name 2017-02-21 10:12:25 +02:00
Guy Carmeli 91f38fbd6a Support Android runtime permissions 2017-02-20 18:48:03 +02:00
Yedidya Kennard e85be818b3 Added width and height to getImagesForIds in Android 2017-01-22 11:46:27 +02:00
Daniel Zlotin aecdb8690b fixed build.gradle 2016-11-25 13:34:50 +02:00
Daniel Zlotin 42e0929e05 fixed for rn 38 2016-11-25 13:20:00 +02:00
Guy Carmeli 1e7e298ca5 Add dirtyImages property to GalleryView
This change is needed since when editing an image and the corresponding
uri doesn’t change, the images thumbnail wouldn't redraw.
2016-11-23 17:27:18 +02:00
Daniel Zlotin 1783e9d029 prepare for rn0.37 2016-11-08 16:08:13 +02:00
Yedidya Kennard a91456eedb Android returns image data object on Camera capture 2016-10-09 11:57:14 +03:00
Yedidya Kennard 8b7cba1836 Hopefully fixed bug caused by sample size 2016-09-13 19:05:14 +03:00
Yedidya Kennard fc610c7e3d Added scaling for gallery thumbnails on smaller devices 2016-09-13 17:34:36 +03:00
Yedidya Kennard 5e90467838 Added pixel border to gallery images on Android 2016-09-05 11:37:35 +03:00
Yedidya Kennard f5ec37184b Fixed bugs with null mimeTypes when checking for supported images 2016-09-05 11:26:24 +03:00
Yedidya Kennard 3ae652b13e Fixed bug using nullable getCurrentActivity instead of getReactApplicationContext for contentResolvers 2016-09-05 11:18:45 +03:00
Yedidya Kennard 7101772fd9 Added hasCameraPermission on Android 2016-08-24 13:24:12 +03:00
Daniel Zlotin 7e400aa135 pruned gitignored commited files 2016-08-23 16:06:59 +03:00
Daniel Zlotin 83ef7bac23 refactored capture command, small performance increase 2016-08-23 15:58:33 +03:00
Yedidya Kennard e33b3dd3a6 Front camera images saved right side up 2016-08-17 16:57:39 +03:00
Yedidya Kennard 6fd1dc5d84 Don't show selection icon if not supported on Android 2016-08-16 18:01:24 +03:00
Yedidya Kennard b89c23defd getAlbumsWithThumbnails returns uris not base64 data 2016-08-16 16:34:46 +03:00
Yedidya Kennard e3e7d48939 Fixed issues 2016-08-16 15:26:28 +03:00
Yedidya Kennard 4adeff73b4 No action on tapping unsupported image 2016-08-16 10:16:13 +03:00
Yedidya Kennard 47633e4d2a Full Android support for unsupported image types 2016-08-16 09:39:29 +03:00
Yedidya Kennard e8af34ef61 Android supports detecting supported types 2016-08-15 17:50:44 +03:00
Yedidya Kennard fbe45d9e2d Fixed bugs relating to RecyclerView 2016-08-10 15:02:57 +03:00
Yedidya Kennard 3d7b0fde40 Moved getting icon for selected and unselected to background thread 2016-08-09 18:04:21 +03:00
Ran Greenberg 7383ee4d14 fix image capture orientation on some devices
see this: http://stackoverflow.com/questions/12944123/reading-android-jpeg-exif-metadata-from-picture-callback
2016-08-09 17:27:44 +03:00
Ran Greenberg 576d7bd444 Android - Make gallery view to refresh correctly 2016-08-09 12:27:23 +03:00
Yedidya Kennard 7a0a2aed26 Fixed changeCamera in Android 2016-08-01 15:58:29 +03:00
Yedidya Kennard 26c5c2410a Android: Moved initCamera to background thread 2016-08-01 15:48:12 +03:00
Yedidya Kennard 0c57e0e896 Moved refreshData in GalleryAdapter to background thread 2016-08-01 15:01:50 +03:00
Yedidya Kennard 3d59c9f462 Android API matches iOS, fixed changeCamera failing to reconnect 2016-08-01 13:25:45 +03:00
Yedidya Kennard 2715894ab1 Added extra catch to stop crashes 2016-07-31 11:18:17 +03:00
Yedidya Kennard 7a155cf678 checkAuthorizationStatus in JS set to true in Android, Android Camera fixes 2016-07-27 15:45:07 +03:00
Yedidya Kennard 21aa740e53 Camera in android freezes preview while taking picture 2016-07-27 11:55:31 +03:00
Yedidya Kennard d851305f6d Android resets and releases camera when no more views need it 2016-07-27 11:23:18 +03:00
Yedidya Kennard c28960a78c Name changes 2016-07-26 09:58:24 +03:00
Yedidya Kennard b58ba4c4a9 Android: Camera reconnects on capture 2016-07-21 10:26:39 +03:00
Yedidya Kennard 7fbfb713e0 Camera on Android saves pictures in right orientation on MOST devices 2016-07-21 10:10:52 +03:00
Yedidya Kennard a704eb0a8c Stack of CameraViews 2016-07-20 16:53:58 +03:00
Yedidya Kennard 258014cd48 Fixes and improvements to Android Camera 2016-07-20 16:28:20 +03:00
Yedidya Kennard 2bb9a69bee refresh gallery view 2016-07-20 09:12:26 +03:00
Yedidya Kennard 964db70830 Fixed bug with capture, try around autoFocus 2016-07-19 15:29:32 +03:00
Yedidya Kennard e9b90b2661 Android implementation getImagesForIds (Uris) 2016-07-19 14:17:16 +03:00
Yedidya Kennard 3a1687ecc7 continued refactor 2016-07-19 11:48:17 +03:00
Yedidya Kennard 57ca2cb114 Extracted camera to static in CameraViewManager 2016-07-19 11:36:58 +03:00
Yedidya Kennard 5c580a97b8 Events working right in GalleryView android 2016-07-19 10:44:19 +03:00
Yedidya Kennard 460d26b3da Added selection icons, selection working well, improvements to image loading 2016-07-18 15:48:10 +03:00
Yedidya Kennard 018105a5a1 Added 'All Photos' album in Android getAlbums 2016-07-18 12:03:12 +03:00
Yedidya Kennard 4a81ce97d2 Fixed issue with selection args 2016-07-18 11:56:08 +03:00
Yedidya Kennard ef8da4fb93 Fixed all photos issue 2016-07-18 11:19:21 +03:00
Yedidya Kennard 6735b84d43 Android Camera component 2016-07-04 14:10:21 +03:00
Yedidya Kennard a7a8702c6e Android selection state (working but buggy) 2016-06-30 18:26:50 +03:00
Yedidya Kennard 960b34a73a Seriously improved GalleryAdapter 2016-06-30 15:14:33 +03:00
Yedidya Kennard 2caff5e76b Added native Android columnCount prop 2016-06-30 12:57:33 +03:00
Yedidya Kennard 8657cb7d94 Android GalleryView 2016-06-30 12:47:23 +03:00
Yedidya Kennard 22e2e5e6ec Android infra, getAlbumsWithThumbnails working 2016-06-29 18:31:04 +03:00
Natalia Grankina 7a730bfa05 Temporarily remove all dependencies and xCode proj to primitive integration with RN proj 2016-04-15 10:52:04 +03:00
Natalia Grankina da6b391a46 Camera kit initial commit 2016-04-14 10:44:00 +03:00