Commit Graph

22 Commits

Author SHA1 Message Date
cristianoccazinsp
aa22fd1fff feat(exif): Implement writeExif for iOS, Android improvements (#2577)
* - Improve Android code so skipProcessing is not needed, the code is more in line with iOS, and is "fast" by default. This means that skipProcessing is no longer needed (nor used), and adding additional options will "slow down" the capture as expected, rather than having always a lot of processing. This shouldn't be a breaking change.

- document the writeExif option, and implement it for iOS as well.

* Release CF object which could cause a memleak
2019-11-20 00:22:08 -03:00
cristianoccazinsp
ad9d0840fd fix(android): Possible ANR due to events not fired on the main thread (#2591)
* This is a fix for events possibly being fired not on the main thread, which could cause the whole app to freeze.

* Fire events on the right thread. No need to use UI thread, and fix the still works
2019-11-18 09:52:35 -03:00
Hanno Fellmann
66e99d8027 fix(exif): writing EXIF data with correct data type (#2396) 2019-08-02 11:09:50 -03:00
Laurin Quast
409d2a9eea break(androidX): upgrading to sdk 28 and androidx (#2068) (#2306)
* upgrading to sdk 28 and androidx

* revert attempt to fix build

* fixing build

* build version fix

* updating example app

* manifest update

* using stable release, instead of beta

* androidx migration doc

* migration doc update

* follow on androidx upgrade after rebase
2019-07-14 16:08:03 -03:00
Laurin Quast
72a8d7f34c
fix: revert breaking change upgrading to sdk 28 and androidx
This reverts commit e2a895ad1c.
2019-06-06 21:00:59 +02:00
Greg Alexander
e2a895ad1c feat(androidX): upgrading to sdk 28 and androidx (#2068)
* upgrading to sdk 28 and androidx

* revert attempt to fix build

* fixing build

* build version fix

* updating example app

* manifest update

* using stable release, instead of beta

* androidx migration doc

* migration doc update

* follow on androidx upgrade after rebase
2019-06-02 16:20:57 -03:00
Valentin
8ad809ee88 feat(android): write Exif tags to modified image file (#2263) 2019-05-15 09:10:03 -03:00
Telmen
a6b619cb73 feat(android): front camera face detect (#2257) 2019-05-09 12:22:22 -03:00
Daniil Ovoshchnikov
0ab570a636 feat(mlkit): Migrate Face, Barcode and Text Recognition to Firebase MLKit (iOS - text, Android - all) (#2075)
* switch to firebase mlkit for text recognition

* migrate android to MLKit

migrate Text detection android to MLKit
update gradle of example app
Update build.gradle
separate gms vision facedetector to general flavor

migrate faceDetector to mlkit and fix incorrect bounds due to padding

migrate barCode detector to mlkit
update android instructions in readme
safe face implementation move gms to generalImplementation

* add mlkit example

setup android of mlkit example

setup ios of mlkit example
fix typo in readme
update example project readme

* amend mlkit migration to include raw data

add barcode detection in basic and mlkit examples

* fix duplicate bridgeDidBackground method

BREAKING CHANGE: We migrated to MLKit instead of Google Mobile Vision
2019-03-11 08:56:24 -03:00
Shashank Kushwah
9d56a21ddc [Android] Expose barcode bounds and source dimension from google vision barcode scanner (#2095)
* added react-navigation

* added barcode scanner example

* exposed barcode bounds and source dimensions in google vision barcode

* updated typescript types for google vision barcode
2019-03-09 11:41:15 -03:00
Matt Oakes
f7fb3e361d fix(android): use the correct camera orientation to fix image detection (#2050), Fixes #1714 2019-01-18 10:30:35 +01: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
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
Josh Sacks
b8132bf8ab added Android event to emit when picture is taken 2018-07-30 12:33:30 -04:00
Joao Fidelis
497a703964 feat(preview): add android code 2018-05-31 14:27:30 -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
Aldo Culquicondor
fcaa945286 feat(android): integrating Google Vision's text recognition 2018-03-22 11:32:27 -05:00
Will Wheeler
17eebff45c Fix stream error and date format error
Fixes #1220
2018-03-15 15:40:30 -07:00
Joao Fidelis
ad1b140790 Organize imports and add missing method from Expo implementation (android) 2018-02-01 17:09:19 -02:00
Joao Fidelis
07e6e566d5 Issue ##1099: Make takePictureAsync return { width, height, base64, exif } 2018-01-22 19:25:35 -02:00
Sibelius Seraphini
a0817132d6 rename expo to simple RN, add js files, and export them inside the same camera package 2018-01-01 19:16:02 -02:00