feat: Better Native Module Error Detection (#1515)
* feat: Add more Error insights when the Camera Module cannot be found * Assert JSI is available * Update error description * fix * Update CameraError.ts
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import type { Frame, FrameInternal } from './Frame';
|
||||
import { Camera } from './Camera';
|
||||
import { Worklets } from 'react-native-worklets/src';
|
||||
import { assertJSIAvailable } from './JSIHelper';
|
||||
|
||||
assertJSIAvailable();
|
||||
|
||||
// Install VisionCamera Frame Processor JSI Bindings and Plugins
|
||||
Camera.installFrameProcessorBindings();
|
||||
|
||||
Reference in New Issue
Block a user