Hi Mauro,
We tried to reproduce the issue “Application crashes while loading PDF document from local storage using PDF Viewer” in Xamarin.Forms.Android, but it is working fine as expected. Kindly refer the sample in the below link which we created to reproduce the reported issue.
Note:
The PDF files and the file paths used in the code snippet as well as in the sample are only meant to be examples. Before running the sample or using the code in your own application, please ensure that the PDF files exist in the specified paths. The file name and path can also be changed to suit your needs.
Kindly share the following details to analyze more on this issue and it will be helpful for us to provide solution at the earliest.
1. Modify / Simple sample with which the issue could be reproduced.
2. Replication procedure to reproduce the issue or screen shot illustrating the issue.
3. Android device specification with the OS version.
4. PDF document with which the issue could be reproduced. (Can you please confirm us whether you are using same PDF document for UWP platform?)
5. Exception/Stack trace of the issue.
6. Xamarin.Forms version.
7. SfPdfViewer version.
8. Third party assembly details if you used any.
With Regards,
Gayathri R