192 Commits

Author SHA1 Message Date
davidpricedev
6edd31682a Merge remote-tracking branch 'upstream/master' into 1255-FixInvalidImageSize 2018-07-20 14:02:34 -05:00
SimonErm
074963544a add missing retention annotation (#1702) 2018-07-19 16:07:55 -03:00
João Guilherme Fidelis
63c62b0fb1
Merge pull request #1690 from CptFabulouso/patch-1
fix #1373 Promise does not return
2018-07-18 10:26:30 -03:00
Reza Ghorbani
cb05f6a503 Refactor build.gradle (#1661) 2018-07-13 16:19:25 -03:00
CptFabulouso
538f9faf38
Update RNCameraView.java
fix ResolveTakenPictureAsyncTask function arguments
2018-07-11 11:10:38 +02:00
CptFabulouso
0577e99504
fix Promise does not return #1373
In my case it happened because AsyncTask in ResolveTakenPictureAsyncTask.java did not run, following this solution to issue https://stackoverflow.com/questions/26890618/asynctask-doinbackground-not-called-after-calling-method-onpreexecute/26890971#26890971 fixed my problem
2018-07-11 10:58:34 +02:00
davidpricedev
5489c7da94 heads off an array length issue 2018-07-10 17:02:04 -05:00
Simon Ermler
56c807bdeb rename variables and add check 2018-06-30 17:00:35 +02:00
SimonErm
236758147d move rotation to BarCodeScannerAsyncTask (#1667) 2018-06-29 11:43:21 -03:00
Simon Ermler
5b97763e49 add null check 2018-06-28 23:53:55 +02:00
HTALA
cb62502a47 Update Camera1.java (#1657)
* Update Camera1.java

Check setPictureSize for null to prevent an exception

* Fixed ba spell
2018-06-22 08:42:21 -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
Symous
4b91f1b369
update zxing lib version
zxing 3.2.1 perform so slow in Android 5.1 to scan a qrcode,update to 3.3.0 fix this issue
2018-06-13 09:07:45 +08:00
Slavik
4fdd548611 [BUG, ANDROID] width prop not works correctly when fixOrientation is enabled (#1629)
* 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

* fix width prop
2018-06-11 18:00:46 -03:00
Joao Fidelis
ad87c8e342 fix(picture-size): create None default value 2018-06-07 17:04:32 -03:00
Joao Fidelis
497a703964 feat(preview): add android code 2018-05-31 14:27:30 -03:00
Slavik
60b9ef1b84 Bug/save to capture when app goes on pause (#1578)
* 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

* fix bug on android when user take photo and press home button immediately - after that camera not works
2018-05-22 17:38:42 +01:00
Sibelius Seraphini
ad840b30a0
Revert "Fix runtime error missing facebook infer annotation" 2018-05-21 17:47:32 -03:00
Mircea Nistor
269418c126
reenable camera on android emulator 2018-05-18 15:59:03 +03:00
Ville Ahti
6ce014d3ca Android: Fix java.lang.ArrayIndexOutOfBoundsException with image rotation 2018-05-17 14:33:49 +03:00
Karen
09f11ce7c4 Fix run time error missing facebook infer annotation 2018-05-14 22:14:06 -07:00
Victor Powell
f01ba34aaf Add missing infer annotation dependency. 2018-04-25 22:08:06 -07:00
Joao Fidelis
d11ed31917 chore(cameraview): integrate google's cameraview directly on rncamera? 2018-04-15 22:09:32 -03:00
serhiiavsheniuk
71a535571e Fix an error when closing the application. 2018-04-15 22:23:44 +02:00
Joao Fidelis
7967e2fbce chore(lint): fix some warnings 2018-04-15 11:25:28 -03:00
Sibelius Seraphini
1c7f231af4 feat(android): make android gradle check work 2018-04-15 08:02:49 -03:00
Joao Fidelis
38e96ed24d fix(barcode): better name google variables and correct init 2018-04-14 18:52:46 -03:00
waitopiggu
73eb5fd272
fix(Android): image stretched instead of cropped
Used the logic from RCTCameraView, but that only worked correctly in Landscape mode.
Added an orientation check and more logic for Portrait mode.
2018-04-14 18:37:44 +01:00
Thomas Parslow
e321b54e26 Only initialize barcode, face detector and text detectors when actually needed 2018-04-13 19:58:14 +01:00
Joao Fidelis
2c87b44b16 fix(barcode-prop): fix default value and add more values 2018-04-13 13:17:29 -03:00
serhiiavsheniuk
e3bdc92ebb Fix camera issues. 2018-04-13 14:18:47 +02:00
Serhii Avsheniuk
8f72ef949f Add GoogleVision barcode scanner. 2018-04-10 23:32:11 +02:00
Joao Fidelis
69242183cc feat(play-sound): play sound on capture (android) 2018-04-06 14:55:18 -03:00
Simon Ermler
0e3e84e35b Crops Preview on Android 2018-04-03 21:34:40 +02:00
Oscar Franco
0eddf6d391 Add skip processing on android for fast picture saving 2018-04-03 07:23:55 +02:00
Simon Ermler
ac7e450b70 rotate received data on portrait mode 2018-03-31 00:20:03 +02:00
Joao Fidelis
94c8968b26 chore(gms): change default gms to 12.0.0 2018-03-29 21:22:49 -03:00
Joao Fidelis
501ffe8336 chore(cameraview): update camera view 2018-03-29 21:07:47 -03:00
Wouter van den Broek
d0e0d26138 Emulator crash fix #1234
On the emulator it crashed because the image byte array was incorrect and no cache directory was defined so it could not be written
2018-03-29 13:49:03 +02:00
Simon Ermler
6939734ba3 add bounds to barcodeReadEvent 2018-03-26 23:15:59 +02:00
Aldo Culquicondor
01e763b143 fix(textrecognition): height of text block 2018-03-23 16:20:16 -05:00
Krystian Pach
113a5e8158 compile should be double quete 2018-03-23 14:13:29 +01:00
Sibelius Seraphini
ebe27e0b5b
Merge pull request #1388 from alculquicondor/ocr
Integrating Google Vision's text recognition in Android
2018-03-23 09:26:56 -03:00
Sibelius Seraphini
e0cb6285e6
Merge pull request #1380 from anandprabhu/master
Check for project-wide gradle configuration properties
2018-03-23 09:26:20 -03:00
Aldo Culquicondor
fcaa945286 feat(android): integrating Google Vision's text recognition 2018-03-22 11:32:27 -05:00
Alessandro Mizzoni
ebed27216f cherry-pick 73b9bec624de2ac18b8a56fe15bb5bb479f315ca 2018-03-22 14:36:49 +01:00
Malte Peters
1b06297c3a fix master after accidental pull-request - sorry 2018-03-22 14:33:54 +01:00
Alessandro Mizzoni
73b9bec624 Compile new cameraview commit for fix upsidedown front camera portrait recorded video 2018-03-22 14:14:56 +01:00
Malte Peters
852169ea86
Merge branch 'update-to-current-master' into master 2018-03-22 12:43:11 +01:00
Malte Peters
519fe42f07 feat(Android): event will also be fired if no object was found 2018-03-21 19:00:35 +01:00