Fix LifecycleOwner crash when parsing Context to CameraClient
This commit is contained in:
1 parent
8cd97e6b7b
commit
a509dc4e59
10 files changed
+49
-44
No files matched your search
@@ -134,7 +134,7 @@ class UsbCameraView(context: Context, appContext: AppContext) : ExpoView(context
|
||||
}
|
||||
}
|
||||
|
||||
cameraClient = CameraClient.newBuilder(activityContext)
|
||||
cameraClient = CameraClient.newBuilder(wrappedContext)
|
||||
.setCameraStrategy(CameraUvcStrategy(wrappedContext))
|
||||
.setCameraRequest(cameraRequest)
|
||||
.setEnableGLES(false)
|
||||
|
||||
Reference in new issue
Block a user