Add android build and make tsc find react-native-vision-camera
This commit is contained in:
@@ -25,3 +25,5 @@ jobs:
|
|||||||
run: nix develop --impure --command bash -c 'export HOME=$PWD; prettier . --check'
|
run: nix develop --impure --command bash -c 'export HOME=$PWD; prettier . --check'
|
||||||
- name: test
|
- name: test
|
||||||
run: nix develop --impure --command bash -c 'export HOME=$PWD; yarn run test --no-watchman'
|
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'
|
||||||
|
@@ -91,6 +91,7 @@ export default function CameraScreen({
|
|||||||
format={format}
|
format={format}
|
||||||
onInitialized={onInitialized}
|
onInitialized={onInitialized}
|
||||||
onError={onError}
|
onError={onError}
|
||||||
|
// @ts-ignore
|
||||||
onVideoChunkReady={onVideoChunkReady}
|
onVideoChunkReady={onVideoChunkReady}
|
||||||
video={true}
|
video={true}
|
||||||
orientation={orientation} // TODO: #60
|
orientation={orientation} // TODO: #60
|
||||||
|
Submodule react-native-vision-camera updated: 0e05fc314f...1312c5be53
@@ -1,5 +1,14 @@
|
|||||||
{
|
{
|
||||||
"include": ["."],
|
"include": [".", "./react-native-vision-camera/package"],
|
||||||
"exclude": ["node_modules", "./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"]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user