react-native-vision-camera/android/src/main
Marc Rousavy 4a73cb96c1
fix: Fix view-not-found race condition in C++ code (#511)
* Add custom `onViewReady` event to get layout

`componentDidMount` is async, so the native view _might_ not exist yet causing a race condition in the `setFrameProcessor` code.

This PR fixes this by calling `setFrameProcessor` only after the native view has actually mounted, and to ensure that I created a custom event that fires at that point.

* Update CameraView.swift
2021-10-11 18:27:23 +02:00
..
cpp perf: Remove FrameProcessorPlugin HybridClass (#467) 2021-09-29 12:30:50 +02:00
java/com/mrousavy/camera fix: Fix view-not-found race condition in C++ code (#511) 2021-10-11 18:27:23 +02:00
AndroidManifest.xml update android lib name 2021-02-19 20:48:35 +01:00