//converting blob to base64data
const fileReaderInstance = new FileReader();
fileReaderInstance.readAsDataURL(response.data);
fileReaderInstance.onload = () => {
base64data = fileReaderInstance.result;
console.log(base64data);
dispatch({
type: OPEN_DOCUMENT, url: base64data
});
}
//rendering
originWhitelist={['*']}
/>
I am able to render the image file using Image tag but Webview is throwing error "028
data:application/pdf;base64,JVBERi0xLjMNCiXi48/TDQoNCjEgMCBvYmoNCjw8DQovVHlwZ... is not a file url ".
Please help.
Hello 馃憢, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like _still searching for solutions_ and if you found one, please open a pull request! You have 7 days until this gets closed automatically