Method `Syncfusion.Pdf.Parsing.PdfLoadedDocument.get_IsXFAForm()' is inaccessible from method

When trying to view any PDF's on iOS (Android build is fine) from our Xamarin.Forms project, we get the following error.  

Method `Syncfusion.Pdf.Parsing.PdfLoadedDocument.get_IsXFAForm()' is inaccessible from method `Syncfusion.SfPdfViewer.XForms.iOS.ScrollViewEx+<LoadDocument>d__323.MoveNext()'

Has anyone seen this before? Has nothing to do with being an XFA form, it cant access the method to even check for that.

Our project is MVVM based.

Xamarin.Forms version 5.0.0.2012

SfPdfViewer version 18.2.0.54 (Tried updating to newest but even updated, issues is the same)

THanks.




3 Replies

SP SarathKumar Prakash Syncfusion Team December 4, 2021 05:02 AM UTC

Hi Jacob Benson,

We were unable to reproduce the issue and PDF is loading properly on IOS.
Please find the sample in the below link, which we have used to reproduce the issue from our end
https://www.syncfusion.com/downloads/support/directtrac/general/ze/GettingStarted-1666032711.zip
Could you please try the above-provided sample and let us know whether we have missed out anything while replicating the issue

Kindly share the following details to analyze more on this issue and assist you with the better solution 
1.Simple sample/ modify the above sample to reproduce the issue.
2.Replication video/procedure to reproduce the issue.
3.PDF Document
4.Device Specifications

Regards,
Sarath Kumar.




JE João Eduardo Martins July 15, 2022 12:44 PM UTC

I'm having same issue. Strange this is that the application was running just fine, and suddenly this error starts and I can't get it resolved.



VD Vikram Devaraj Syncfusion Team July 18, 2022 12:03 PM UTC


Hi Joao,

We were unable to replicate the issue and it is working as expected . Could you please try the attached sample and let us know whether we have missed out anything while replicating the issue. 

  

Note: If you are adding custom NuGet to your project, we suspect this issue is occurred due to the improper adding of custom NuGet and NuGet cache is not cleared properly. Kindly follow the steps to clear the NuGet cache and then install patched NuGet to get the issue resolved.      

https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache


If the issue persists, Kindly share the following details to analyze more on this issue and assist you with the better solution   

1.Simple sample/ modify the attached sample to reproduce the issue.  

2.Replication video/procedure to reproduce the issue. 

3.PDF document  

4. SfPdfViewer version


Regards, 

Vikram


Attachment: 170897_f6a6c077.zip

Loader.
Up arrow icon