Add android build and make tsc find react-native-vision-camera

This commit is contained in:
Ivan Malison 2024-02-03 21:06:47 -07:00
parent bfd96d9ccc
commit 721e728275
4 changed files with 15 additions and 3 deletions

View File

@ -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'

View File

@ -91,6 +91,7 @@ export default function CameraScreen({
format={format}
onInitialized={onInitialized}
onError={onError}
// @ts-ignore
onVideoChunkReady={onVideoChunkReady}
video={true}
orientation={orientation} // TODO: #60

@ -1 +1 @@
Subproject commit 0e05fc314fb759ec0944bf09c07aba9ad753fc2b
Subproject commit 1312c5be53fdf1912922a1412642e48200cff0aa

View File

@ -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"]
}
}
}