diff --git a/.gitea/workflows/tests.yaml b/.gitea/workflows/tests.yaml index 4682b3e..d6ab554 100644 --- a/.gitea/workflows/tests.yaml +++ b/.gitea/workflows/tests.yaml @@ -25,3 +25,5 @@ jobs: run: nix develop --impure --command bash -c 'export HOME=$PWD; prettier . --check' - name: test run: nix develop --impure --command bash -c 'export HOME=$PWD; yarn run test --no-watchman' + - name: android-build + run: nix develop --impure --command bash -c 'cd android; ./gradlew assembleDebug' diff --git a/component/video/camera.tsx b/component/video/camera.tsx index fe3fd01..c0d6602 100644 --- a/component/video/camera.tsx +++ b/component/video/camera.tsx @@ -91,6 +91,7 @@ export default function CameraScreen({ format={format} onInitialized={onInitialized} onError={onError} + // @ts-ignore onVideoChunkReady={onVideoChunkReady} video={true} orientation={orientation} // TODO: #60 diff --git a/react-native-vision-camera b/react-native-vision-camera index 0e05fc3..1312c5b 160000 --- a/react-native-vision-camera +++ b/react-native-vision-camera @@ -1 +1 @@ -Subproject commit 0e05fc314fb759ec0944bf09c07aba9ad753fc2b +Subproject commit 1312c5be53fdf1912922a1412642e48200cff0aa diff --git a/tsconfig.json b/tsconfig.json index 217700c..116a4c7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,14 @@ { - "include": ["."], + "include": [".", "./react-native-vision-camera/package"], "exclude": ["node_modules", "./react-native-vision-camera/package"], - "extends": ["expo/tsconfig.base"] + "extends": ["expo/tsconfig.base"], + "compilerOptions": { + "allowJs": false, + "esModuleInterop": true, + "moduleResolution": "node", + "outDir": "lib", + "paths": { + "react-native-vision-camera": ["./react-native-vision-camera/package"] + } + } }