Hi I have an exception with the code below I have to visulize a pdf file generated by a base64 in the android filesystem, but when you run the pdf view I have the exception below. What can be due? and how can I solve? (Gradle is: implementation 'com.github.barteksc:android-pdf-viewer:2.8.2')
Exception:load pdf error java.io.IOException: can not create document: File not in PDF format or corrupted.
at com.shockwave.pdfium.PdfiumCore.nativeOpenDocument (Native Method)
Hi I have an exception with the code below I have to visulize a pdf file generated by a base64 in the android filesystem, but when you run the pdf view I have the exception below. What can be due? and how can I solve? (Gradle is: implementation 'com.github.barteksc:android-pdf-viewer:2.8.2')
Exception: load pdf error java.io.IOException: can not create document: File not in PDF format or corrupted. at com.shockwave.pdfium.PdfiumCore.nativeOpenDocument (Native Method)
AndroidManifest.xml
Java Android Code: