You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 19, 2026. It is now read-only.
importImgToBase64from'react-native-image-base64';sendData=async(uri)=>{ImgToBase64.getBase64String(uri).then(base64String=>{console.log(base64String)}).catch(err=>console.log("Error Occured",err));}someFunction=async()=>{
...functioncontent...
this.sendData(result.uri)//here result.uri is the path to that image i.e file://...}
With this, I am getting an error saying "TypeError: null is not an object".
Please solve my error
Thanks!