Commit Graph

103 Commits

Author SHA1 Message Date
Artal Druk
eb2e965ab5 Gallery custom button: allow using a completely custom component (other props are disregarded in this case) + optimize image loading (don't recreate the image-view or the image) 2017-12-08 17:24:17 +02:00
Artal Druk
a32ceeb9c6 Add support for horizontal layout 2017-12-08 11:30:01 +02:00
Ran Greenberg
7aa792020a handle crash when the imagesIdArray is nil/not an array/empty 2017-11-23 12:23:42 +02:00
Ran Greenberg
018d88002f add image width and height to captured images in camera screen 2017-11-23 11:58:34 +02:00
Ran Greenberg
207c244c4b fix race condition which leads to crash 2017-11-19 17:48:16 +02:00
Ran Greenberg
6b4325f016
Revert "fixed crash when disallowing access to photos then trying again" 2017-11-19 15:49:51 +02:00
Ran Greenberg
dabb5b8cb4 Handle .heic photo format - now the camera kit will detect if the photo format is .heic and will convert it to jpeg if so 2017-11-16 17:06:23 +02:00
Ran Greenberg
b922e38232 Merge pull request #85 from kyunghoon/khk-fixes
fixed crash when disallowing access to photos then trying again
2017-10-22 22:38:37 +03:00
kyunghoon
124df2378e fixed crash when disallowing access to photos then trying again 2017-10-20 19:24:25 -04:00
Ran Greenberg
ce39902fc9 remove log 2017-09-26 10:57:08 +03:00
Ran Greenberg
37d6e5daff fix qrcode return object key 2017-09-25 23:05:35 +03:00
Ran Greenberg
334fe681e9 implement qr code reader - not finished 2017-09-14 17:21:13 +03:00
Ran Greenberg
89ce5b1260 when image is remote download the image overlay now will show behinds the download indicator 2017-08-21 12:00:21 +03:00
Ran Greenberg
d901f263ce add iCloudDownloadSimulateTime in order to simulate iCloud download 🤷‍♂️ 2017-08-17 14:46:18 +03:00
Ran Greenberg
84b1b958bc add minimum to badge icon size (iOS) 2017-08-17 14:46:18 +03:00
Ran Greenberg
199266fbc6 add pie progress bar for loading indicator while download image from iCloud 2017-08-17 10:17:28 +03:00
Ran Greenberg
34058bc2f7 add extra check if NSURL returns nil which can cause to crash in CKGalleryManager 2017-08-16 10:48:55 +03:00
Ran Greenberg
5db5995350 remove comments code 2017-08-15 18:38:15 +03:00
Ran Greenberg
e9ba45d32b add onRemoteDownloadChanged in CKGalleryViewManager (iOS only) 2017-08-15 18:38:15 +03:00
Ran Greenberg
490b11d105 add remote download support, if images aren't exist on the device and stored in iCloud, now camera-kit will support and download it seamlessly 2017-08-15 16:23:18 +03:00
Ran Greenberg
118bb01160 fix crash on simulator when try to changeCamera to rear camera 2017-06-20 11:28:50 +03:00
Artal Druk
170842a66d eliminate some warnings on gallery view manager 2017-05-28 14:42:59 +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
c6e0f2e38d gallery view: added a prop to allow enabling “always bounce” on the collection view 2017-05-14 14:54:40 +03:00
Artal Druk
03fac3591a gallery view: added method for modifying the content offset of the collection view 2017-05-14 14:54:08 +03:00
Ran Greenberg
ff4f9de5b4 fix capture image critical bug, now the correct image is returned 2017-04-06 17:25:00 +03:00
kboda
423d36ffc6 Release imageRef in snapStillImage
unreleased imageRef causes a memory leak of about 8 MB after every photo, which finally leads to a crash of the app
2017-04-04 15:49:55 +02:00
Ran Greenberg
acca4cfe9f iOS - add resizeImage API 2017-03-30 18:42:28 +03:00
Ran Greenberg
1383036b2c add imageQualityOnTap in CameraKitGalleryView 2017-03-29 10:38:21 +03:00
Ran Greenberg
e66a42403d add image quality support 2017-03-28 17:36:47 +03:00
Ran Greenberg
2450a7784a iOS - update imports in order to support *all* react native version 2017-03-27 16:32:34 +03:00
Artal Druk
06615d060a support contentInset of the gallery view on iOS 2017-03-26 12:50:18 +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
Artal Druk
9ca33bfdc8 - support capture/retake mode on the full screen camera
- make the shouldSaveToCameraRoll camera capture flag usable (on iOS for now) so it calls the completion if it’s not enabled
- expose a new method saveImageURLToCameraRoll that is used in the retake mode so the image can be saved to the gallery
2017-03-21 15:24:19 +02:00
Ran Greenberg
2eb414fffa bug fix when unselected image isn't set 2017-03-13 16:13:38 +02:00
Ran Greenberg
afff02de5d update default unselected badge location to "top-right" 2017-03-13 15:19:56 +02:00
Artal Druk
c441c29375 set the badge image view frame according to the size of the image 2017-03-08 19:26:22 +02:00
Artal Druk
12b802d170 when selection is changed, allow the state to automatically sync and update the selection state so it won’t be necessary to call refreshGalleryView to sync at while loading the whole collection view. 2017-03-08 16:49:37 +02:00
Artal Druk
43d46933a6 when shouldReturnUrl is ON, also return the selected ID of the asset so the JS side can stay in sync with the selection 2017-03-08 14:11:57 +02:00
Ran Greenberg
7f0c6220d0 update default image color overlay 2017-03-01 17:41:40 +02:00
Ran Greenberg
db6238aa80 add selection section to CameraKitGalleryView with support of: selectedImage, unselectedImage, overlayColor, imagePosition 2017-03-01 17:12:11 +02:00
Ran Greenberg
f1326f3948 add support in getUrlOnTapImage (iOS only) 2017-03-01 17:12:11 +02:00
Ran Greenberg
3177ab9198 add custom button support 2017-02-28 15:29:52 +02:00
Yedidya Kennard
d4cc6dd1cf Fixed possible unboxed nil in GalleryManager 2017-01-22 11:55:32 +02:00
Yedidya Kennard
3ebd21f14d Added with and height to getImagesForIds on ios 2017-01-22 11:05:11 +02:00
Ran Greenberg
f7260eb1de bugfix - flash mode set to auto when flip cameras. now it will set as expected and won't back to auto flash mode 2017-01-01 23:44:26 +02:00
Ran Greenberg
666738b638 added disableSelectionIcons 2016-11-21 12:11:05 +02:00
Ran Greenberg
0a58244233 fix crash when running on simulator 2016-11-21 12:08:30 +02:00
Ran Greenberg
7f94078b48 fix selection gesture 2016-11-20 17:36:50 +02:00