Yousra Sdn
6196173463
chore: expose a method to set the torch mode ( #523 )
2023-03-10 19:32:47 -08:00
Seph Soliman
edfa42380f
v13 ( #491 )
...
* Removed saveToCameraRoll & saveToCameraRollWithPhUrl.
Use react-native-cameraroll instead.
Upgraded CameraX to 1.1.0,
Upgraded com.google.mlkit:barcode-scanning to 17.0.2
* v13.0.0
2022-08-29 11:29:07 -07:00
Seph Soliman
ce1e83c202
Fixed build issues, defaultProps ( #461 )
2022-04-08 10:43:59 -07:00
Balaji Kotni
024dc51a65
fix: resolve saveToCameraRoll issue ( #445 )
...
* fix: resolve saveToCameraRoll issue
Prop saveToCameraRoll didn't work because of incorrect prop (!this.props.allowCaptureRetake} being passed. If allowCaptureRetake was passed as true, then a black screen showed up because of the condition this.isCaptureRetakeMode() ? . Requesting @scarlac and @DibyajyotiMishra for the review.
* chore: make saveToCameraRollProp optional and add default value as true
* Update src/CameraScreen.tsx
Co-authored-by: Seph Soliman <seph@seph.dk>
Co-authored-by: DIBYAJYOTI MISHRA <dibyajyotimishra14@gmail.com>
Co-authored-by: Seph Soliman <seph@seph.dk>
2022-03-29 14:12:13 -07:00
Chris Savvopoulos
c61c0f0200
Upgrade dependencies to latest stable; show square on tap-to-focus ( #442 )
2022-01-21 11:45:25 -08:00
DIBYAJYOTI MISHRA
21bc204816
Merge branch 'master' into master
2021-12-15 19:11:20 +05:30
Seph Soliman
70339b90cc
Update src/CameraScreen.tsx
...
Co-authored-by: Aaron Grider <aaron.grider@gmail.com>
2021-12-14 13:17:37 -08:00
Seph Soliman
fc55595fa1
Update src/CameraScreen.tsx
...
Co-authored-by: Aaron Grider <aaron.grider@gmail.com>
2021-12-14 13:17:32 -08:00
DIBYAJYOTI MISHRA
13c32c542a
chore: Add Types to Style Props
2021-12-09 13:35:27 +05:30
DibyajyotiMishra
fedf0a7a0f
chore: Add Custom Styles to Components via Props
2021-12-05 23:32:10 +05:30
Seph Soliman
1019a15bf1
Fix ts issues
2021-09-02 15:17:44 -07:00
Seph Soliman
36336c3beb
Merge branch 'r/12.0.0' into build
2021-06-24 18:53:14 -07:00
Seph Soliman
2d9d43dfd1
Updated build scripts & configs, fixed linting & types
2021-06-08 16:01:44 -07:00
Seph Soliman
6be7a1f6cb
Added support for saveToCameraRoll on Android. Doc updates.
2021-06-08 16:01:44 -07:00
Seph Soliman
d18ca47b76
Export the imperative API. Upgrade TS to 4.2
2021-06-08 16:01:43 -07:00
aarongrider
0083a6889a
Add build script and begin fixing build errors
2021-05-27 08:59:49 -07:00
Seph Soliman
4249927da1
Updated docs, exported constants
2021-05-26 17:07:08 -07:00
Kaspar Shahzada
60ab3c47f4
Updated Camera object to be instance of forwardRef function
2021-05-04 13:34:12 -04:00
aarongrider
e6e546fd7e
Reenable left button
2021-02-24 09:27:32 -08:00
aarongrider
e2fa04b913
Fix style spacing
2021-02-07 20:42:07 -08:00
aarongrider
5c3341d228
minWidth and minHeight for camera component
2021-02-04 16:44:00 -08:00
aarongrider
75edaf08c6
Default Camera to flex of 1
2021-02-04 15:55:47 -08:00
aarongrider
2b74c5d71f
Export CameraType from index
2021-02-04 15:33:42 -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
acd1a6c347
Fix Android barcode scanning
2021-01-08 18:08:29 -08:00
aarongrider
41f915d42f
Refactor camera screen and fix bugs
2021-01-07 23:05:06 -08:00
aarongrider
dd597249c2
Add prop to show capture count
2021-01-05 16:38:30 -08:00
aarongrider
7dafa09114
Remove extra imperative references
2021-01-05 13:29:25 -08:00
aarongrider
c3b62afba7
iOS: Update api
2021-01-04 14:45:03 -08:00
aarongrider
1f43a3ef22
Remove unused showLongToast
2020-12-06 22:46:45 -08:00
aarongrider
50d26188e5
Convert project to TypeScript and refactor example code
2020-11-29 22:37:49 -08:00
aarongrider
a63ca0012d
Android rewrite
2020-11-17 15:42:36 -08:00
aarongrider
df6c237e55
Add back missing exports
2020-10-23 10:56:03 -07:00
Aaron Grider
417cca680a
Refactor example code
2020-10-23 10:55:39 -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
b572aaa09b
Added resetFocusTimeout and resetFocusWhenMotionDetected
...
This also fixes inability to dismiss tap to focus
2020-10-23 10:51:47 -07:00
Minas
1201a155bc
fixed resizeMode in CameraScreenBase
2020-10-23 10:51:09 -07:00
Seph Soliman
e6ec6c1333
Merge pull request #247 from ehacinom/styleObject-variable-declaration
...
Declare variable when exporting CameraKitCameraScreen styleObject
2020-06-26 15:16:26 -07:00
Rewind
a6bf3ae567
fix android crash on take picture cause conflict react-native-camera
2020-04-20 11:37:22 +07: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
Itai Schuftan
778d7d4f04
Removing duplicate function
2019-03-20 11:05:25 +02:00
Monica He
e69798caf8
Declare variable when exporting CameraKitCameraScreen styleObject
2019-02-04 12:07:22 -08: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
432acf8880
Add bind to setTorchMode
2018-12-30 22:37:44 +02:00
Shalom Yerushalmy
ba5f924b60
Fix torch method
2018-12-27 14:42:23 +02:00
Shalom Yerushalmy
a20814dd9e
change android logic
2018-12-17 10:36:13 +02:00
Shalom Yerushalmy
3c6e4c54fc
Add torch feature
2018-10-22 10:57:22 +03:00
Ran Greenberg
955f4ddd17
Merge pull request #207 from chris-teague/fix/camera-screen-base-rn-0.56
...
Fixes “Undefined is not an object (evaluating '_reactNative.Image.res…
2018-10-18 10:34:00 +03:00
Shalom Yerushalmy
6eab015a98
Use inline vars
2018-10-16 09:42:38 +03:00