react native barcode reader
npm install @cpchain-foundation/react-native-barcode-readerreact native barcoder reader
``sh`
npm install @cpchain-foundation/react-native-barcode-reader
`jsdata:image/png;base64,...
import { decode } from '@cpchain-foundation/react-native-barcode-reader';
const base64Image = ;
export default function App() {
const [result, setResult] = React.useState
React.useEffect(() => {
decode(base64Image.replace('data:image/png;base64,', '')).then(setResult);
}, []);
return (
);
}
``
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
---
Made with create-react-native-library