I'm using RadPdfViewer control to show pdf document in our Xamarin form app. The app is working fine on Android(device and Simulator) and also on iOS simulator.
But App is crashing on iPhone device while launching the app. I'm getting the below error
Failed to force load assembly Telerik.XamarinForms.DataGrid.dll. Type:Telerik.XamarinForms.DataGrid.DataGridLocalizationManager.
Exception: 'You MUST call Xamarin.Forms.Init(); prior to using it.'. Callstack: ' at Xamarin.Forms.Device.get_PlatformServices () [0x00007] in D:\a\1\s\Xamarin.Forms.Core\Device.cs:87
at Xamarin.Forms.Device.get_RuntimePlatform () [0x00000] in D:\a\1\s\Xamarin.Forms.Core\Device.cs:57
at Telerik.XamarinForms.Common.RadDevice..cctor () <0x10c1fc1c8 + 0x00002> in <81c15264f2164ef79a02e84ed79e8bfd>:0
If I comment out the <telerikPdfViewer:RadPdfViewer x:Name="pdfViewer" /> control in the .xaml file the app loads properly
I have tried the solution provided on TelerikForm.Init() but it's not worked for me.