Commit Graph

76 Commits

Author SHA1 Message Date
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
Ran Greenberg
6f9899c68f bugfix - camera ratio overlay sometimes isn't shown 2016-11-09 17:49:09 +02:00
Ran Greenberg
cd0af65728 getImagesForIds return array will now keep the same order of images id array input 2016-10-20 16:36:44 +03:00
Ran Greenberg
963e0ab56f add asset id to the return object in function getImagesForIds on iOS native side 2016-10-19 17:58:17 +03:00
Ran Greenberg
ab4d8e1b7a fix capture block return type from NSString to NSDictionary 2016-10-12 01:08:24 +03:00
Ran Greenberg
89954286eb Fix an issue when there are photos in the photo gallery in a future date (the user manually set the time to the future).
Now the camera will return the right photo taken.
2016-09-28 17:06:21 +03:00
Ran Greenberg
f36511f6d5 added imageStrokeColor for CameraKitGalleryView + update example 2016-09-12 17:34:05 +03:00
Yedidya Kennard
7157c24e3a IOS takes mimeType not UTI for supported file types 2016-08-15 17:13:47 +03:00
Ran Greenberg
169485e015 refactor 2016-08-11 16:27:26 +03:00
Ran Greenberg
ad96338ee0 Added supported/unsupported feature, now it's possible to show unsupported images in the gallery view but add an unsupported image and text 2016-08-11 14:56:03 +03:00
Ran Greenberg
93fb733020 iOS - add checkDevicePhotosAuthorizationStatus and requestDevicePhotosAuthorization 2016-07-31 16:20:22 +03:00
Ran Greenberg
166582a2ba refactor - selectedAssets changed to selectedImages and will be in the react-native way, the state will remain in the JS side
some more minor refactor
2016-07-25 17:28:36 +03:00
Ran Greenberg
d7499590ee regression bugfix #WOA-1067 2016-07-25 12:10:29 +03:00
Ran Greenberg
4824c08104 change width:height to height:width 2016-07-21 10:04:46 +03:00
Ran Greenberg
1c92a2b782 update native integration, deep copy this.props 2016-07-20 11:00:42 +03:00
Ran Greenberg
fb17ce4164 crash fix - fix issue when image not supported, try to add nil to an array
update example
2016-07-19 16:04:36 +03:00
Ran Greenberg
9918bbeb96 add ratio overlay feature 2016-07-19 12:42:30 +03:00
Ran Greenberg
e9394a84d1 bugfix - try to run "count" on PHCollectionList 2016-07-12 13:22:17 +03:00
Ran Greenberg
8a974c434f move removeFromSuperview to bottom
bugfix in iOS 8, show the right capture image
 version bump
2016-07-10 18:59:10 +03:00
Ran Greenberg
70efcc83cb set collection view size when ever reactSetFrame called 2016-07-10 18:14:22 +03:00
Ran Greenberg
2ffbacca08 bugfix - support for iOS8 "fetchOptions.fetchLimit" 2016-07-10 15:21:18 +03:00
Ran Greenberg
015e36fecc remove NSLog from native code 2016-07-09 13:18:21 +03:00
Ran Greenberg
b7fc8582dc minor change 2016-07-08 01:28:07 +03:00
Ran Greenberg
dbe51d068c add check photos permission (user's gallery)
update example
add lodash dependency to example
2016-07-08 00:48:10 +03:00