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
..
2021-02-20 17:07:10 +01:00
2021-02-20 17:07:10 +01:00
2021-07-06 10:08:44 +02:00
2021-05-06 16:12:43 +02:00
2021-05-06 14:11:55 +02:00
2021-02-19 16:07:53 +01:00
2021-03-08 18:00:30 +01:00
2021-06-21 22:42:46 +02:00