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
My app does a download and save the file in temporary directory.
I use a File object to pass its path in PDFView(filePath).
In iOS it works fine but in Android I got a java.io.FileNotFoundException: No content provider.
In Android, the path is somethine like /data/data/my.app/cache/file.pdf.
I figured out that I have to pass file://<file_path> in PDVView() to show it in Android, but not in iOS.
Is there any solution that works in both platform?
The text was updated successfully, but these errors were encountered:
My app does a download and save the file in temporary directory.
I use a File object to pass its path in PDFView(filePath).
In iOS it works fine but in Android I got a java.io.FileNotFoundException: No content provider.
In Android, the path is somethine like
/data/data/my.app/cache/file.pdf
.I figured out that I have to pass
file://<file_path>
in PDVView() to show it in Android, but not in iOS.Is there any solution that works in both platform?
The text was updated successfully, but these errors were encountered: