* - 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
* 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
* 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
* 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
* 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
* added react-navigation
* added barcode scanner example
* exposed barcode bounds and source dimensions in google vision barcode
* updated typescript types for google vision barcode
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.