Commit Graph

80 Commits

Author SHA1 Message Date
Guy Carmeli
c2e28fa122 Fix 🙏 cut off capture icon
For some reason, on some Android devices, the capture icon was cut off.
Setting background color to the button seems to fix this (probably an RN issue)
2017-08-21 11:58:17 +03:00
Ran Greenberg
62c3da018f remove debug console.log 2017-08-15 18:38:15 +03:00
Ran Greenberg
773f719981 fix CameraKitGallery::getImageUriForId for iOS 2017-08-15 10:44:21 +03:00
aksonov
21a3853e36 fix passing cameraOptions and default overlay color 2017-08-04 14:02:53 +02:00
Ran Greenberg
4f72a00c0e pass extra props to camera screen into react-native View wrapper (current usge for pass testID) 2017-08-02 17:30:02 +03:00
Jon Kessler
80f862e315 Pull in prop-types dependency to avoid deprecation warnings 2017-07-26 12:06:31 -07:00
Ran
d2936072ce Merge pull request #36 from kubik369/fix-android-gallery-view
Fix android crashing on CameraKitGalleryView
2017-07-22 09:23:25 +03:00
gevorg94
fd306016eb pass overlayColor to selected image [android] 2017-06-30 11:40:14 +04:00
kubik369
af32e9a063 Fix shallow copy issue in iOS 2017-06-28 12:43:24 +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
Ran Greenberg
ca22d63411 fix resizeImage 2017-06-25 15:34:56 +03:00
Ran Greenberg
36fd36bd38 return gracefully when try to invoke resizeImage on Android 2017-06-20 11:27:51 +03:00
Amit Davidi
1ab27b151b Add API for resolving complete image data from camera event 2017-05-28 17:29:40 +03:00
Artal Druk
604bc5bd2e provide image width and height on tap events 2017-05-28 14:42:34 +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
kubik369
c5701c5417 Fix android crashing on CameraKitGalleryView 2017-04-21 17:37:44 +02:00
Ran Greenberg
acca4cfe9f iOS - add resizeImage API 2017-03-30 18:42:28 +03:00
Ran Greenberg
e6381ec444 add imageQuality to the API (not mandatory) 2017-03-28 17:44:25 +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
Amit Davidi
751702ceaa Add convenience/code-share-enabling native-event decoding method to API 2017-03-20 15:29:17 +02:00
Ran Greenberg
16e81b3a36 improve camera screen on android
merge index for both platforms
2017-03-14 12:44:19 +02:00
Ran Greenberg
e6baf9f92d add event when capture button pressed after image captured 2017-03-13 16:01:49 +02:00
Ran Greenberg
f59de39611 fix number of images captured label on capture image 2017-03-13 15:32:40 +02:00
Ran Greenberg
9c54d14bd9 fix buttons default images 2017-03-13 13:56:08 +02:00
Ran Greenberg
b4f0393bbd add CameraKitCameraScreen 2017-03-13 11:40:32 +02:00
Amit Davidi
de75295db2 Android: Make usage of resolveAssetSource() backwards compatible 2017-03-02 14:50:29 +02:00
Amit Davidi
de5be5e3ad Android: Fix numerous issues found in integ with media-manager 2017-03-01 22:15:06 +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
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
Ran Greenberg
1faa976da9 Merge branch 'master' of https://github.com/wix/react-native-camera-kit 2017-02-28 15:30:39 +02:00
Ran Greenberg
3177ab9198 add custom button support 2017-02-28 15:29:52 +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
807757d0f3 Android: Added resource transl to selectedImageIcon 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
Guy Carmeli
91f38fbd6a Support Android runtime permissions 2017-02-20 18:48:03 +02:00
Ran Greenberg
205dd41f54 Minor change in example project for iOS
Fix example project for android
2016-11-29 11:14:48 +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
Yedidya Kennard
52b9fd7cc9 Cleaned examples 2016-08-30 11:50:26 +03:00
Yedidya Kennard
f43ece2fa7 Added functions to match iOS API 2016-08-24 14:09:31 +03:00
Yedidya Kennard
7101772fd9 Added hasCameraPermission on Android 2016-08-24 13:24:12 +03:00
Yedidya Kennard
d0643364ee Fix for when no fileTypeSupport object is given 2016-08-16 11:00:52 +03:00
Yedidya Kennard
7135574652 JS side of Android camera kit resolves asset 2016-08-16 09:58:59 +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
Yedidya Kennard
3d59c9f462 Android API matches iOS, fixed changeCamera failing to reconnect 2016-08-01 13:25:45 +03:00
Ran Greenberg
93fb733020 iOS - add checkDevicePhotosAuthorizationStatus and requestDevicePhotosAuthorization 2016-07-31 16:20:22 +03:00