on IOS loading 2 documents firing the LoadDocument method two times (keeping the instance) makes the app to crash due to a null exception:
System.NullReferenceException: 'Object reference not set to an instance of an object'
at Syncfusion.SfPdfViewer.XForms.SfPdfViewer.OnPdfViewerPropertyChanged (System.String propertyName) [0x00019] in <e3887dd93bbb4bbeaa7bec6113fd8f2b>:0
at Syncfusion.SfPdfViewer.XForms.SfPdfViewer.OnInputFileStreamChanged (Xamarin.Forms.BindableObject bindable, System.Object oldValue, System.Object newValue) [0x003fa] in <e3887dd93bbb4bbeaa7bec6113fd8f2b>:0
at Xamarin.Forms.BindableObject.SetValueActual (Xamarin.Forms.BindableProperty property, Xamarin.Forms.BindableObject+BindablePropertyContext context, System.Object value, System.Boolean currentlyApplying, Xamarin.Forms.Internals.SetValueFlags attributes, System.Boolean silent) [0x00120] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:463
at Xamarin.Forms.BindableObject.SetValueCore (Xamarin.Forms.BindableProperty property, System.Object value, Xamarin.Forms.Internals.SetValueFlags attributes, Xamarin.Forms.BindableObject+SetValuePrivateFlags privateAttributes) [0x00173] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:397
at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty property, System.Object value, System.Boolean fromStyle, System.Boolean checkAccess) [0x00042] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:334
at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty property, System.Object value) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:311
at Syncfusion.SfPdfViewer.XForms.SfPdfViewer.set_InputFileStream (System.IO.Stream value) [0x00000] in <e3887dd93bbb4bbeaa7bec6113fd8f2b>:0
at Syncfusion.SfPdfViewer.XForms.SfPdfViewer.LoadDocument (System.IO.Stream stream) [0x0003e] in <e3887dd93bbb4bbeaa7bec6113fd8f2b>:0
at Sendra2.Pages.PDFPage.ContentPage_Appearing (System.Object sender, System.EventArgs e) [0x00077] in C:\SORGENTI\Sendra2\Sendra2\Sendra2\Pages\PDFPage.xaml.cs:87
at Xamarin.Forms.Page.SendAppearing () [0x0004b] in D:\a\1\s\Xamarin.Forms.Core\Page.cs:414
at Xamarin.Forms.Platform.iOS.PageRenderer.ViewDidAppear (System.Boolean animated) [0x00045] in D:\a\1\s\Xamarin.Forms.Platform.iOS\Renderers\PageRenderer.cs:209
at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.18.2.1/src/Xamarin.iOS/UIKit/UIApplication.cs:86
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.18.2.1/src/Xamarin.iOS/UIKit/UIApplication.cs:65
at Sendra2.iOS.Application.Main (System.String[] args) [0x00001] in C:\SORGENTI\Sendra2\Sendra2\Sendra2.iOS\Main.cs:17
On Android and UWP works fine.
Please we need this fix as soon as possible because we are in production.