Last Updated: 07 Apr 2021 13:18 by ADMIN
Created on: 06 Apr 2021 13:32
Category: UI for Xamarin
Type: Bug Report
pdfviewer show "an error occurred while loading the document" on android in release


I had developed an Xamarin application, in a modal I open a PdfViewer.

PdfViewerPage pdfViewer = new PdfViewerPage(item.IdAllegato, item.Path, item.FlagScaricabile);


I assign a url to the PdfViewer source.

pdfViewer.Source = new Uri(uri);
Everything is fine in debug mode but when I publish the app on android the PdfViewer show "an error occurred while loading the document" with all pdf.
1 comment
Posted on: 07 Apr 2021 13:18

Hello Giuseppe,

We have noticed that you have logged a public bug report for Telerik Reporting but the information provided in the item is related to the Telerik UI for Xamarin PdfViewer control. Reporting and Telerik UI for Xamarin are different products.

We have changed the bug report product to UI for Xamarin. I have declined this bug report as based on your reply here the issue was related to the uri address and changing it to https solved the exception. 

Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.