library to get image from camera from pick image from gallery
npm install mazadat-image-picker
import { openCamera,editPhoto,openIdVerification } from 'mazadat-image-picker';
// ...
openCamera(3,"en").then((value: string) => {
console.log({value})
setResult(value)
})
editPhoto(path/to/image,"en").then((value: string) => {
console.log({value})
setResult(value)
})
openIdVerification("en").then((value: string) => {
console.log({value})
setResult(value)
})
See the contributing guide to learn how to contribute to the repository and the development workflow.
MAZADAT
Made with create-react-native-library