Commit Graph

79 Commits

Author SHA1 Message Date
Laurin Quast
80b81d2e8d
docs(q-a): add how to save video/image to camera roll 2019-02-18 12:39:55 +01:00
Laurin Quast
74c1fbed2c
docs(q-a): add video thumbnail recommendation (#2114) [skip release] [skip ci] 2019-02-18 10:50:24 +01:00
Bora Tunca
1dfc867561 docs: update location and description of the examples (#2102) [skip ci] [skip release]
Fixes
* Update location: Examples have moved to https://github.com/react-native-community/react-native-camera/tree/master/examples .
* Remove out of date claim: In this directory there are no examples with face recognition. Only one example has been added, that doesn't have face recognition (https://github.com/react-native-community/react-native-camera/pull/1979). 
* Remove repository reference: This is not a standalone repo anymore, it is a directory in the `react-native-camera` repo.
2019-02-12 11:00:47 +01:00
Michael Ossareh
4bcf88e99a feat: add onStatusChange callback (#2003) 2019-01-31 09:29:56 +01:00
Laurin Quast
22533ed8e8
feat: allow camera scene when audio permissions are denied (#2048), Fixes #2047, Fixes #2051 2019-01-18 15:58:48 +01:00
Andrew Schenk
d93a6c7e11 feat(android): add videoBitrate option for recordAsync (#2055) [skip release] 2019-01-18 15:48:42 +01:00
Laurin Quast
62324f8898
docs: reformat documentation with prettier (#2049) [skip release] 2019-01-14 09:29:12 +01:00
Simon Arneson
2940faf871 fix(rn-camera): set default captureAudio property value to true (#2037)
Closes #2030
2019-01-08 11:29:48 +01:00
Laurin Quast
401c485db3
feat(rn-camera): deviceOrientation, videoOrientation, pictureOrientation
* feat(rn-camera): add deviceOrientation and videoOrientation to record response.

* feat(rn-camera): add deviceOrientation and pictureOrientation to take-picture-response

* fix(rn-camera): unify orientation handling for recording and takeing picture

* fix(types): adjust typescript types

* docs(rn-camra): document new properties

* fix(android): respect actual boolean value instead of only checking if it is present.

* feat(android): implement orientation prop for takePictureAsync

* feat(android): implement orientation prop for recordVideoAsync

* docs(rn-camera): adjust documentation

* fix(types): unmark properties as ios only

* fix(android): use constants
2018-12-12 15:04:08 +01:00
Laurin Quast
515bccb7f5
docs(rn-camera): remove unimplemented property (#1987) [skip ci]
Fixes #1978
2018-12-11 12:01:16 +01:00
Benas Svipas
54fedeedd3 feat(ios): add new method isRecording (#1969)
* feat: isRecording() to RNCamera which returns boolean

* docs: update RNCamera and typings
2018-12-05 17:38:33 +01:00
Leonardo Cardoso
dd843bd358 docs: remove unused import from example [skip ci] (#1957) 2018-11-30 11:11:29 +01:00
Tomas Zaicevas
e18d52d204 docs: fix typo [skip ci] (#1945) 2018-11-26 10:16:38 +01:00
SimonErm
b1d91eb91a docs: barcode bounds differences on ios and android (#1936)
[skip ci]
2018-11-20 22:24:26 +01:00
Cosmo Wolfe
d69d28b400 feat(qr-code): return raw barcode data if available (#1904) 2018-11-07 08:53:56 +01:00
Ruben Maher
f6f9f2916d feat: add property pauseAfterCapture to takePictureAsync (#1641) 2018-11-06 13:18:48 +01:00
Robert van Kints
7ee140bbdc feat(android): add inverted google vision barcode scanning (#1896) 2018-11-01 22:27:23 +01:00
Ruben Velazquez Calva
09828cdf1e fix(rn-camera) prevent camera-flickering on ios by introducing new property defaultVideoQuality (#1886)
* Adding defaultVideoQuality property for iOS

* Remove quality in Readme

* Restore preset when cleanup the camera

* Validate isRecording to stopRecording

* Update the quality only if has changed.

* Fix AVCaptureSessionPreset type
2018-10-29 15:59:57 +01:00
Tadas Talaikis
2906ae1563 Fixed first example (#1853)
Solves many repeated Android permissions and taking pictures error reports, ex: #1708
2018-10-19 09:30:24 -03:00
João Guilherme Fidelis
20aed99c38
Merge pull request #1843 from react-native-community/add-slide-up-zoom-recipe
docs: add slide-up zoom recipe
2018-10-17 21:52:41 -03:00
João Guilherme Fidelis
66b683f938
Merge pull request #1847 from romeldris/update_captureaudio_docs
Docs: Remove iOS only for captureAudio prop
2018-10-17 21:52:13 -03:00
Diego Medina
69807f585f
specify code jsx 2018-10-17 15:19:42 -04:00
romeldris
2d3e161b5a Remove iOS only for captureAudio prop 2018-10-10 23:37:38 -07:00
Laurin Quast
737a5a2ef5
docs: add slide-up zoom recipe 2018-10-10 12:28:33 +02:00
Diego Medina
f81c9cd8f5 Add documentation for react-navigation solution 2018-10-08 22:44:52 -04:00
Laurin Quast
1bc6d5bff0 Merge remote-tracking branch 'upstream/master' into pull-1640 2018-09-25 08:45:48 +02:00
Laurin Quast
0f697d0703
Merge pull request #1715 from PixilatedPhoto/master
Added onPictureTaken event emitter to RNCamera in Android
2018-09-24 22:58:41 +02:00
Josh Sacks
471df065c8 updated docs with onPictureTaken event 2018-09-24 14:18:01 -04:00
Weiliang Li
9f65f52f28 Add onGoogleVisionBarcodesDetected explanation (#1808) 2018-09-24 10:25:09 -03:00
Aamir
652ea5f171 Adding 'doNotSave' option to skip saving (#1770)
* Add 'doNotSave' flag to android

Added check for 'doNotSave' flag to prevent saving picture to cache

* Update RNCameraManager to check for 'doNotSave'

Updated RNCameraManager to avoid saving to disk when 'doNotSave' set to true

* Update RNCamera to check for 'doNotSave'

Updated RNCameraManager to avoid saving to disk when 'doNotSave' provided and set to true

* Added notes for doNotSave

Added documentation for using doNotSave option
2018-09-03 10:11:43 -03:00
Daniil Ovoshchnikov
e12310869e implement text recognition for ios (#1775)
fix typo

fix aspect ratio
2018-09-03 10:11:09 -03:00
Diego Cáceres
0fe7906c37 merge with upstream master and fix conflicts 2018-07-30 13:46:38 -03:00
Armando Assunção
860662e0b0 Fixed example size of maxFileSize in RNCamera.md (#1705) 2018-07-23 14:26:36 -03:00
Joe Ridenour
aca37d30e5 Continued Recording
- Updated RNCamera.js to allow for path in recording options
- Updated RNCamera.m to check for new `path` key in options
- Updated RNCameraView.java to check for `path` property to use
- Updated RNCamera.md to reflect new option
2018-06-19 09:04:42 -05:00
Beau Rushton
ca5a12b400 fix: update docs and add check for focus mode support 2018-06-18 12:49:40 +10:00
Beau Rushton
39cc29deca feat: adds autoFocusPointOfInterest to iOS 2018-06-18 11:20:04 +10:00
Ivanbtrujillo
4d282e4fa6 Mock module and test a custom component using Jest (#1635)
* Add information about how to mock react-native-camera and test a custom component using Jest and Enzyme

* Move testing documentation to test.md

* Create a reference to documentation about testing in RNCamera.md
2018-06-14 15:05:50 +01:00
Pavel
35d962668c Update GradleUpgradeGuide.md (#1625)
Fixed build script name
2018-06-10 01:08:31 +01:00
jtweaver
bd582f4b02 Docs around pause/resume preview (#1623) 2018-06-08 21:54:18 +01:00
Laurin Quast
a090faa09b WIP: Implement video stabilization mode property for ios (#1606)
* feat(rn-camera): implement video stabilization mode property for ios

* feat(rn-camera): export video stabilization values on camera object

* docs(rn-camera): document video stabilization mode feature
2018-06-05 11:21:22 +01:00
Sibelius Seraphini
4a9322cb8b
docs(expo): explain how to migrate to and from expo camera module (#1605) 2018-06-04 11:26:53 +01:00
Jack Zhao
cf895d3f4f
Update GradleUpgradeGuide.md
fixed configuration
2018-05-17 23:21:14 +01:00
Jack Zhao
bd69ea3996
Create GradleUpgradeGuide.md 2018-05-17 22:08:36 +01:00
João Guilherme Fidelis
68106f4e2c
Merge pull request #1523 from fagerbua/ios-288p-video
Support CIF (288p) video quality on iOS
2018-04-26 11:27:04 -03:00
AndreiCalazans
3811d82c75 fix(rn_camera): improve naming 2018-04-25 18:12:53 -03:00
AndreiCalazans
45cc8f25d2 feat(rn_camera): add function as children 2018-04-25 18:10:00 -03:00
Matt
aee1eb6f8f Apply mirrorVideo to RNCamera as well 2018-04-24 18:15:03 -07:00
Matt
f25df35431 Option to mirrorVideo for iOS
The work done by @rad182 (but he closed his pull request?) https://github.com/react-native-community/react-native-camera/pull/915
2018-04-24 15:18:17 -07:00
Joao Fidelis
ef5c2fef14 docs(recipes): add some recipes 2018-04-14 23:00:58 -03:00
Sibelius Seraphini
4b8b1d4f99
Rename Recipes to Recipes.md 2018-04-11 12:55:10 -03:00