@seirendobrasil/react-native-facing
v2.0.2
Published
*
Readme
react-native-facing
Installation
npm install react-native-facingyarn add react-native-facingUsage
import { startCamera } from 'react-native-facing';
// ...
import { StatusBar } from 'expo-status-bar';
import { useEffect } from 'react';
import { startCamera } from 'react-native-facing';
export default function App() {
useEffect(() => {
startCamera((response) => {
console.log("Código da API:", response);
});
},[])
return (
<>
<StatusBar style='auto'/>
</>
);
}
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library
