Commit Graph

1050 Commits

Author SHA1 Message Date
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
alastorohlin
2932f5addf Fix to critical issue "Could not find intellij-core.jar" (#1885)
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':react-native-camera'.
> Could not resolve all artifacts for configuration ':react-native-camera:classpath'.
   > Could not find intellij-core.jar (com.android.tools.external.com-intellij:intellij-core:26.0.1).
     Searched in the following locations:
         https://jcenter.bintray.com/com/android/tools/external/com-intellij/intellij-core/26.0.1/intellij-core-26.0.1.jar
2018-10-24 17:55:10 -03:00
Sibelius Seraphini
31ab64d4c3
1.3.1 2018-10-24 14:28:29 -03:00
Sibelius Seraphini
e14f332429
build(change-log): v1.3.1-9 2018-10-24 14:28:24 -03:00
Marius Reimer
9efd755458 revert: check if face or text detector libraries are included independently (#1882) 2018-10-24 14:20:56 -03:00
Rubén Sospedra
9261524609 fix: Do not rely in to jcenter but google (#1874) 2018-10-23 07:12:33 -03:00
Grzegorz Mandziak
fc3f7bdd29 fix for "ios crash when scan barcode many times #1112" (#1868) 2018-10-22 12:46:25 -03:00
Marius Reimer
d45c2b9137
Merge pull request #1865 from reime005/podspec-update
Update CocoaPod subspecs versions
2018-10-21 12:21:39 +02:00
João Guilherme Fidelis
3d8fdeafae
Merge pull request #1867 from react-native-community/fix/no-face
fix(build): fix no face detection project
2018-10-20 18:00:15 -03:00
Joao Fidelis
a7a7abf648 fix(build): fix no face detection project 2018-10-20 17:59:23 -03:00
Marius Reimer
e900244edd update CocoaPod subspecs versions 2018-10-20 12:46:44 +02:00
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