@ashleysmart/react-native-vision-camera
Version:
Fork of - A powerful, high-performance React Native Camera library.
82 lines (45 loc) • 1.22 kB
Markdown
# Summary
Fork of react-native-vision-camera to correct rotation and other bugs.
### Original documnaton
* [Guides](https://react-native-vision-camera.com/docs/guides)
* [API](https://react-native-vision-camera.com/docs/api)
* [Example](./example/)
* [Frame Processor Plugins](https://react-native-vision-camera.com/docs/guides/frame-processor-plugins-community)
## build
```
cd /workdir/custom_modules/react-native-vision-camera
npm run build
# yarn build
```
## Publishing
```
npm login --auth-type=legacy
npm publish --auth-type=legacy --access public
```
### Install
Install from npm:
```
sh
npm i @ashleysmart/react-native-vision-camera
cd ios && pod install
```
### Documentation
################## ENDS HERE #######################
### Build -- ISNT NEEDED?
Building the NPM package requires the docker image
```
cd /workdir/react-native-vision-camera/package
bun install
scripts/clang-format.sh
bun lint --fix
bun typescript
bun build src/index.ts
```
### FAILED - Build
Building the NPM package requires the docker image
Once in the docker run the following
```
/workdir/react-native-vision-camera/package
# npm run build
#bun build src/*.ts src/*/*.ts --outdir ../dist
```