Commit Graph

1038 Commits

Author SHA1 Message Date
Raphael Hovsepyan
aea0db22f7 Added origin key for result points and added camera width and height (#1824) 2018-10-19 09:31:01 -03: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
Daniil Ovoshchnikov
1ecef00048 check if face or text detector libraries are included independently (#1863) 2018-10-19 09:30:01 -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
857c27b991
Merge pull request #1839 from react-native-community/react-navigation-doc
Add documentation for react-navigation solution
2018-10-17 15:21:33 -04: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
Ivan Polomani
8de827e6c2 fix: Error retrieving camcorder profile params (#1835)
I got this error when I call `recordAsync(...)` with `quality: RNCamera.Constants.VideoQuality['480p']` on Samsung Galaxy Tab S 10.5.
```
Error: Error retrieving camcorder profile params
    at createErrorFromErrorData (NativeModules.js:123)
    at NativeModules.js:80
    at MessageQueue.__invokeCallback (MessageQueue.js:400)
    at MessageQueue.js:139
    at MessageQueue.__guardSafe (MessageQueue.js:316)
    at MessageQueue.invokeCallbackAndReturnFlushedQueue (MessageQueue.js:138)
```
It happens because there is no check if device actually supports given quality.
To make the `CamcorderProfile.get(quality)` call safe we need to check if there is appropriate CamcorderProfile by calling `CamcorderProfile.hasProfile(quality))`.

This PR fixes that issue.
2018-10-04 14:55:59 -03:00
Jeepeng
fd87a3475a Update projectWithoutFaceDetection.pbxproj (#1822) (#1825) 2018-09-29 08:06:45 -03:00
Sebastian Auberger
4ad36ab927 fix search paths in projectWithoutFaceDetection.pbxproj (#1762) 2018-09-28 09:32:58 -03:00
Sibelius Seraphini
501d4ad8de
chore(package): bump to 1.3.0 2018-09-26 08:56:00 -03:00
Sibelius Seraphini
fafe4c1192
chore(yarn): update yarn.lock 2018-09-26 08:54:37 -03:00
Sibelius Seraphini
8599fcc580
build(change-log): v1.3.0-8 2018-09-26 08:53:33 -03:00
Laurin Quast
e2c49e04eb
Merge pull request #1818 from n1ru4l/pull-1640
Auto focus point of interest
2018-09-25 08:53:20 +02: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
Laurin Quast
a0483933c3
Merge pull request #1816 from n1ru4l/bump-podfile-version
fix(rn-camera): bump platform version to 9.0.
2018-09-24 18:16:15 +02:00
Laurin Quast
bdbc2564ba fix(rn-camera): bump platform version to 9.0. closes #1806 2018-09-24 18:11:48 +02:00
Laurin Quast
6787cf48d2
Merge pull request #1801 from MrPluto/master
clean up camera when recording finished
2018-09-24 16:32:34 +02:00
Tony Mack
0fea2e21cc Update build.gradle (#1802)
googlePlayServicesVersion update - this is making it hard to include other libraries that need an updated google-services version
2018-09-24 11:30:06 -03:00
Laurin Quast
408fb5b23d
Merge pull request #1815 from n1ru4l/remove-component-will-mount-usages
fix(rn-camera): use `componentDidMount` instead of `componentWillMount`
2018-09-24 16:22:32 +02:00
Laurin Quast
816e95bb28
Merge pull request #1814 from react-native-community/fix-ios-race-codition
[ios] fix possible race condition in removeFromSuperview
2018-09-24 16:22:19 +02:00
Laurin Quast
421fd039fe
Merge pull request #1812 from SimonErm/feature/updateIssueTemplates
Update Issue Templates
2018-09-24 16:07:05 +02:00
Laurin Quast
2d311ff186 fix(rn-camera): use componentDidMount instead of componentWillMount. closes #1809 closes #1760 2018-09-24 15:49:16 +02:00
Weiliang Li
9f65f52f28 Add onGoogleVisionBarcodesDetected explanation (#1808) 2018-09-24 10:25:09 -03:00
Laurin Quast
8cd958e0c4
fix possible race condition
the method stopSession dispatches an async task which can result in a race condition between  the calls of`[super removeFromSuperview];` and `[self stopSession];`.
2018-09-24 15:16:36 +02:00
Simon Ermler
d7c943526b delete old issue template 2018-09-22 01:07:42 +02:00
Simon Ermler
3cbe9385fb add new issue templates 2018-09-22 01:07:21 +02:00
João Marins
9615668ae7
Merge pull request #1811 from react-native-community/chore/ts-doNotSave
chore(ts): add doNotSave to ts type definitions
2018-09-21 17:33:26 -03:00
João Marins
f0c18b7c20
chore(ts): add doNotSave to ts type definitions 2018-09-21 17:13:16 -03:00
MrPluto
b6b3b3173b cleanupcamera when recording finished 2018-09-19 16:11:09 +08:00
Daniil Ovoshchnikov
3adaffbcb5 add note on duplicate symbols to README (#1796) 2018-09-16 07:04:14 -03:00
Daniil Ovoshchnikov
fe3ac34093 add clarification about cocoapod installation to README (#1795) 2018-09-14 18:17:05 -03:00
Trent Jones
a5c67376af fix: added some missing typescript declarations (#1792) 2018-09-14 16:37:20 -03:00
SimonErm
c29715f238 Update Typescript Typedefinitions (#1781)
* add missing Props and Options

* fix type

* add OrientationType
2018-09-13 12:58:46 -03:00
SimonErm
495802333c disable torch before setting flash (#1780) 2018-09-13 12:57:27 -03:00
SimonErm
e5afe48913 Feature/orientation by accelerometer (#1786)
* Refactor RCTSensorOrientationChecker

* migrate SensorChecker to RNCamera
2018-09-13 12:57:18 -03:00
João Guilherme Fidelis
ace99ff83f
Merge pull request #1720 from SimonErm/feature/addVideoOrientationOption
add video orientation option
2018-09-06 11:33:15 -03:00
Mark Vayngrib
d4b4ee1168 fix: android base64 string format for consistency with ios (#1776) 2018-09-04 05:31:08 -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
Paul V Puey
1c9e83dc94 Bump gradle tools to 3.0.1 (#1759) 2018-08-24 10:13:39 -03:00
Sibelius Seraphini
843cbf4ff6
chore(update): update package.json packages (#1739)
* chore(update): update package.json packages

* feat(ci): try to fix ci

* chore(lint): fix lint

* fix(lint): fix lint
2018-08-24 10:13:12 -03:00
SimonErm
ee92cab64d
Merge branch 'master' into feature/addVideoOrientationOption 2018-08-15 08:59:59 +02:00
Josh Sacks
d17ffb86c5
Merge branch 'master' into master 2018-08-14 11:06:10 -04:00
Sibelius Seraphini
da8e79cd7a
build(package): 1.2.0 2018-08-09 09:25:37 -03:00