fix: Fix system/view-not-found error caused by setFrameProcessor race condition (#459)
* Remove `onLayout` hack * Add `system/view-not-found` error
This commit is contained in:
@@ -43,7 +43,7 @@ export type CaptureError =
|
||||
| 'capture/photo-not-enabled'
|
||||
| 'capture/aborted'
|
||||
| 'capture/unknown';
|
||||
export type SystemError = 'system/no-camera-manager';
|
||||
export type SystemError = 'system/no-camera-manager' | 'system/view-not-found';
|
||||
export type UnknownError = 'unknown/unknown';
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user