Commit Graph

158 Commits

Author SHA1 Message Date
Seph Soliman eab52ad395 Removed dead code 2021-02-02 15:53:01 -08:00
aarongrider 95781c9be2 Fix color props and update api 2021-01-11 11:16:40 -08:00
aarongrider b909d01dfc Add torch mode 2021-01-09 13:12:53 -08:00
aarongrider 41f915d42f Refactor camera screen and fix bugs 2021-01-07 23:05:06 -08:00
aarongrider e2e6e168fe Fix formatting 2021-01-05 12:18:42 -08:00
aarongrider b533ba2c5a Remove unused api surface in iOS 2021-01-05 12:12:47 -08:00
aarongrider c3b62afba7 iOS: Update api 2021-01-04 14:45:03 -08:00
aarongrider 213cf788a4 Remove Gallery 2020-11-12 14:08:11 -08:00
Aaron Grider 7f497650fa Move ios project 2020-10-24 16:45:17 -07:00
aarongrider db8eb82e53 Upgrade baseline to iOS 10 2020-10-23 10:56:03 -07:00
aarongrider 79e26ab9bb Add preview in iOS simulator 2020-10-23 10:56:03 -07:00
Ran Greenberg c130931132 Remove wix mentions in commnets in iOS files (#309)
Remove Wix mentions
2020-10-23 10:51:48 -07:00
Seph Soliman 323ed94609 Fixed duplicate photo storage
Breaking change: shouldSaveToCameraRoll is now a prop on <CKCamera /> instead of a function argument
Fixed: Instead of storing a temporary file, allow capturing directly to photo library and use PHAsset identifiers.
PH identifiers allow seamless loading when combined with the rn-community-cameraroll library
2020-10-23 10:51:48 -07:00
Seph Soliman 9ce7650029 Re-added NSLog statements for actual errors 2020-10-23 10:51:47 -07:00
Seph Soliman 23b8e69084 Increased photo capture performance, improved photo quality/size
Re-encoding as JPEG causes files to bloat up. We now take data directly from camera and save it to the library. We also avoid rotating the photo (which may be introduced later behind a flag) to avoid wasting cycles.
These changes mean that the ratioOverlay no longer crops the image which is a little conter-intuitive (an overlay shouldn't change the capture process). We can reintroduce this feature later if we find a need for cropping besides what the community Image Editor library can provide.
2020-10-23 10:51:47 -07:00
Seph Soliman b572aaa09b Added resetFocusTimeout and resetFocusWhenMotionDetected
This also fixes inability to dismiss tap to focus
2020-10-23 10:51:47 -07:00
Seph Soliman eb0fa1d8e9 Fixed orientation bugs
Fixes #4, #69, #253, #181, #99 (Support landscape mode with portrait orientation lock)
2020-06-22 14:11:43 -07:00
Seph Soliman 4a3752f679
Merge pull request #296 from wix/unwanted-zoom
Fixed #6 "zoomed in" issue
2020-06-15 11:08:55 -07:00
Seph Soliman f8e50706f5 Fixed #6 "zoomed in" issue 2020-06-13 20:01:58 -07:00
Seph Soliman 0665b1a1bf Added support for Data Matrix codes (iOS only) 2020-06-13 19:44:54 -07:00
Ryan Wang 7ab6997a6e Fix CameraKitGallery to return valid imageuri (#278)
* Fix CameraKitGallery to return valid imageuri
- If PHImageFileURLKey does not exist, use PHImageFileUTIKey instead

* syntax fix
2019-10-21 19:43:02 +03:00
talreiss ea5846f1e0 Added torch capabilities (#264)
* added torch capabilities

* removed redundant static function

* added setTorchMode

* added corresponding android setTorchMode feature

* fixed style issues, readme

* restricted setTorchMode format to on/off
2019-06-19 18:24:06 +03:00
aboelbisher 1d48cb0c71 Barcode bug fix (#255)
* bug fixed

* logs and comments

* fix
2019-03-24 16:00:30 +02:00
Ran Greenberg a753c508ed add output to session only when possible 2019-03-06 10:06:32 +02:00
Evgeni Silman 28d9647b72 Added call of onReadCode setter from setupCaptionSession. 2019-03-06 08:22:02 +02:00
Evgeni Silman 35c6fca5c3 Added setter of onReadCode. 2019-03-04 15:29:20 +02:00
Shalom Yerushalmy fac7ec6413 Revert "Merge pull request #238 from wix/add_torch_feature"
This reverts commit 59242bf78b, reversing
changes made to a56f1b681b.
2019-01-07 18:27:17 +02:00
Shalom Yerushalmy 4554460e44 Merge master 2018-12-17 10:40:13 +02:00
Shalom Yerushalmy 3c6e4c54fc Add torch feature 2018-10-22 10:57:22 +03:00
Petros Sfikakis 06b59a27c5 FIX: photo library permission should be asked only if we need to save the photo to the library. Permission is not needed when we save the photo to tmp folder. This causes a Photo Library permission to be asked even if there is not intention to save the photo in the library. 2018-08-17 14:38:09 +03:00
Ran Greenberg fe16f2f51c
Revert "update Barcode scanner usage" 2018-04-23 18:21:19 +03:00
Dmytro Ponomarenko 25b5edbf50 Merge branch 'master' into perfomanceIssuesIOS
# Conflicts:
#	ios/lib/ReactNativeCameraKit/CKCamera.m
2018-04-23 17:29:44 +03:00
Ran Greenberg 6139e9365d Revert "add background view for better perfomance"
This reverts commit a24b1cb446.
2018-04-17 14:43:20 +03:00
Dmytro Ponomarenko c03f6ab5e3 changes 2018-04-11 13:17:57 +03:00
Dmytro Ponomarenko fead019b8d refactor 2018-04-05 17:40:15 +03:00
Dmytro Ponomarenko 06517a9049 changes 2018-04-05 17:21:41 +03:00
Dmytro Ponomarenko 9d61baf42b properties 2018-04-05 15:36:01 +03:00
Dmytro Ponomarenko 25d5e71856 add surfaceColor 2018-04-03 12:38:31 +03:00
Dmytro Ponomarenko a24b1cb446 add background view for better perfomance 2018-04-02 12:48:56 +03:00
Dmytro Ponomarenko 06c4915a13 fix bug with returning on previous screen 2018-03-20 14:42:06 +02:00
Dmytro Ponomarenko e617a205aa delete functionality of multiple scan 2018-03-14 11:09:22 +02:00
Dmytro Ponomarenko bacebf8d31 add functionality for multiple callbacks from scanner 2018-03-12 09:28:47 +02:00
Dmytro Ponomarenko 95babe0f2c add functionality that restore last value of barcode 2018-03-09 16:05:51 +02:00
Dmytro Ponomarenko f83c4de9b8 add functionality for reusage animation when app go to background 2018-03-09 15:43:25 +02:00
Roman Kozlov 6a015e54e5 change key 2018-03-06 13:56:21 +02:00
Ran Greenberg 54b080a67e fix xcode8 build- change AVMetadataObjectType to NSString* 2018-03-04 11:21:29 +02:00
Dmytro Ponomarenko ce3fd49580 rebased 2018-03-01 16:05:04 +02:00
Dmytro Ponomarenko 8d525cea05 changes onReadCode 2018-03-01 15:36:52 +02:00
Dmytro Ponomarenko 778c08f88a latest 2018-03-01 13:23:29 +02:00
Dmytro Ponomarenko f42f124d49 changes 2018-02-12 15:43:51 +02:00