Skip to content

Commit 78a1e98

Browse files
committed
fix: add object detection to installer check
1 parent 3ced9e2 commit 78a1e98

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • packages/react-native-executorch/src

packages/react-native-executorch/src/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ if (
1515
global.loadStyleTransfer == null ||
1616
global.loadImageSegmentation == null ||
1717
global.loadExecutorchModule == null ||
18-
global.loadClassification == null
18+
global.loadClassification == null ||
19+
global.loadObjectDetection == null
1920
) {
2021
if (!ETInstallerNativeModule) {
2122
throw new Error(

0 commit comments

Comments
 (0)