react-native-vision-camera/android/src/main
Marc Rousavy 4b4ea0ff33
fix: Fix UI Thread race condition in setFrameProcessor(...) (#265)
* fix: Fix UI Thread race condition in `setFrameProcessor(...)`

* Revert "fix: Fix UI Thread race condition in `setFrameProcessor(...)`"

This reverts commit 9c524e123cff6843d7d11db602a5027d1bb06b4b.

* Use `setImmediate` to call `setFrameProcessor(...)`

* Fix frame processor order of applying

* Add `enableFrameProcessor` prop that defines if a FP is added

* rename constant

* Implement `enableFrameProcessor` prop for Android and make `frameProcessorFps` faster

* link to troubleshooting guide

* Update TROUBLESHOOTING.mdx

* Add logs for use-cases

* fix log

* set initial frame processor in `onLayout` instead of `componentDidMount`
2021-07-12 15:16:03 +02:00
..
cpp fix: Fix UI Thread race condition in setFrameProcessor(...) (#265) 2021-07-12 15:16:03 +02:00
java/com/mrousavy/camera fix: Fix UI Thread race condition in setFrameProcessor(...) (#265) 2021-07-12 15:16:03 +02:00
AndroidManifest.xml update android lib name 2021-02-19 20:48:35 +01:00