617 Commits

Author SHA1 Message Date
Marcus Andersson
c99f676877 added documentation. 2017-12-28 17:50:21 +01:00
Marcus Andersson
93177c8604 changed so we use the correct exceptions. 2017-12-20 20:25:01 +01:00
Marcus Andersson
e5777136b1 fixed flex. 2017-12-20 20:19:14 +01:00
Marcus Andersson
03b76bd542 turned cropping of in example. 2017-12-20 20:19:14 +01:00
Marcus Andersson
c51f0b5f93 fixed so android cropping works in all orientations. 2017-12-20 20:19:14 +01:00
Marcus Andersson
ed2768828b fixed some formatting issues. 2017-12-20 20:19:14 +01:00
Marcus Andersson
ec4ac6c74b fixed so camera works in all orientations for ios 2017-12-20 20:19:14 +01:00
Marcus Andersson
da1f0f2fdd changed so we use the cropToPreview parameter to crop the image 2017-12-20 20:19:05 +01:00
Sibelius Seraphini
d8f36627ea
Merge pull request #1055 from iegik/patch-3
#557 Fix documentation about barCodeTypes property
2017-12-20 10:45:57 -02:00
Arturs Jansons
41fefdb3f7
#557 Fix documentation about barCodeTypes property 2017-12-20 15:37:57 +03:00
Marcus Andersson
19286de6be added support to pass propToPreview 2017-12-19 15:06:53 +01:00
Marcus Andersson
c323105328 added switch to toggle cropping. 2017-12-19 15:04:41 +01:00
Marcus Andersson
c6ad435532 added support for android to crop image to preview. 2017-12-19 15:03:08 +01:00
Marcin Wadoń
ea859ca45f (docs): Fix typo in README camera usage description (#1046) 2017-12-14 15:01:42 -08:00
Albert Martin
39f19cd7c7 feat(ios): add support for preview to match viewport cropping (#627) 2017-12-13 15:44:25 -08:00
Slavik
874a29f7cb (barcode): Fix scan on landscape mode (#949)
* add scan support for landscape mode

* refactoring

* fix errors

* fix rotation

* add landscape orientation support

* fix exception

* freeze preview image

From PR https://github.com/lwansbrough/react-native-camera/pull/919
2017-12-07 12:17:02 -08:00
Sibelius Seraphini
241b5d1060
Merge pull request #859 from cbrevik/start-stop-preview
Add start/stopPreview for Camera
2017-12-07 10:48:23 -02:00
Sibelius Seraphini
29ffcb4db4
Merge pull request #973 from pettersolberg88/master
Fixed hardcoded jpegQuality on android when saving to temp and disk
2017-12-07 10:43:01 -02:00
Sibelius Seraphini
6bc1de69d7
Merge pull request #746 from superyarik/master
Add onBarCodeRead example
2017-12-07 10:39:49 -02:00
Sibelius Seraphini
087c6c1adf
Merge pull request #937 from leoilab/fix-example
Fix example failing with "Unable to resolve module react"
2017-12-07 10:39:15 -02:00
Sibelius Seraphini
7c796d767e
Merge pull request #957 from geoffreyc/master
Added info about autofocus/taptofocus for android
2017-12-07 10:38:09 -02:00
Sibelius Seraphini
36604200e3
Merge pull request #1020 from JSandmark/patch-1
Update Readme that CAMERA permission is requierd
2017-12-07 10:37:20 -02:00
Sibelius Seraphini
efe5d24d64
Merge pull request #1022 from jwilkes90/master
Updating README for upca barcodes
2017-12-07 10:36:23 -02:00
Jon Wilkes
4224c37ce2
Update README.md 2017-12-05 11:47:00 +00:00
Johan Sandmark
d9b1de5db6
Update Readme that CAMERA permission is requierd
Developers are lazy, it would help to clarify to new people that normal camera permissions actually are required. Specially under the headline permissions.
2017-12-03 09:57:46 +01:00
Manuel Nakamurakare
6801113628 serialize setCaptureQuality using sessionQueue 2017-11-13 16:08:42 -08:00
rt2zz
fe70bd71a9 0.12.0 v0.12.0 2017-11-08 11:17:11 -08:00
rt2zz
a1191a70e8 0.11.0 v0.11.0 2017-11-08 11:15:43 -08:00
Petter Solberg
e11ed2fb52 Fixed hardcoded jpegQuality on android when saving to temp and disk 2017-11-08 17:15:48 +01:00
Lowie Huyghe
ca48b33f7f Fix for: Fast swiping and touching while component is being loaded can cause _camera to be null. 2017-11-07 17:02:48 +01:00
Kesha Antonov
59a0b44c71 fix crash on tap focus & warning on start (#961) 2017-10-28 08:28:15 +02:00
geoffreyc
4bb3f62369 Added info about autofocus/taptofocus for android
Added settings to place into AndroidManifest.xml to get all focus functionalities working 100%
2017-10-24 10:08:41 +01:00
SteffenUlrich
b5baca03e8 correct aproach for delta error 2017-10-18 14:37:56 +02:00
4a6f616f Gracinha
52b11f2d32 Update README.md with NSPhotoLibraryAddUsageDescription (#924)
closes #923
2017-10-15 12:16:02 +02:00
skovhus
4f4aaf9a02 Fix example failing with "Unable to resolve module react" 2017-10-06 14:38:36 +02:00
Akshay Kadam
4b4160801e Format Code Blocks (#912)
* Format Code Blocks

* Format Code Blocks
2017-09-28 07:10:58 +02:00
Lee Packham
780a6c70c9 Disallow capture when Camera is null (Android)
If a user of the library called `capture` too early then it tries to get
the device orientation from the RCTCamera instance... which doesn't yet
exist.

Instead of adding anything clever in the library, just call
promise.reject() so that the host application can decide what to do with
this issue (probably wait, retry in a bit).

This mainly effects slower Android devices where the camera can take a
long time to initialize.
2017-09-23 23:17:54 +01:00
Jonathan Beckman
dc1724507a Update README.md (#883)
took out an unneeded word
2017-09-10 21:18:58 +02:00
gabrielSchaidhauer
537b7696b4 (android): Missing ; on constructor (#880)
On the RCTCameraModule is missing a ';' causing a build failure.
2017-09-08 13:26:53 -07:00
Andy Li
618f5ec92f [captureWithOrientation()] Load shutter_click sound to reduce latency while playing during capture (#871) 2017-09-08 22:03:35 +02:00
mannol
161c568095 (android): Remove nonexistant Android permission (#863)
Android does not have RECORD_VIDEO permission. For a list of available permissions check [this link](https://developer.android.com/reference/android/Manifest.permission.html).
2017-08-29 11:26:19 -07:00
Christian Brevik
4e04e3484b
Make safer calls on Android 2017-08-29 14:35:35 +02:00
Christian Brevik
1bcf8577a4
Add start/stopPreview for Camera 2017-08-27 18:08:58 +02:00
Guy Blank
e3fc27711c (barcode): Fix for missing bounds in Android #683 (#845) 2017-08-19 15:19:18 -07:00
Radek Czemerys
02eb51d962 Remove createJSModules @override marker - RN 0.47 compatibility (#821)
* Remove depreciated createJSModules @ovveride marker

* Added comment

* Fix typo in comment

* Fix typo in comment
2017-08-07 12:52:31 -07:00
rt2zz
bd9a0f37fc 0.10.0 v0.10.0 2017-08-03 12:26:21 -07:00
rt2zz
1e9484b354 remove opencollective dependency 2017-08-03 12:26:06 -07:00
Eric Dobbertin
e2c2cff4a0 Support React 16 PropTypes removal (#769) 2017-08-03 12:24:11 -07:00
rt2zz
be969cdc57 0.9.5 v0.9.5 2017-08-03 12:23:02 -07:00
Michael J Gallagher
2937ecafb9 Install from NPM not GitHub (#823) 2017-08-03 12:22:36 -07:00