|
S.No |
Query |
Details |
|
1 |
Android apps failed to display PDF, by default, to fit page or device's width (e.g., when rotated to landscape) even with an explicit request using PdfViewer.ViewMode = ViewMode.FitWidth |
The “ViewMode” API is specific to the UWP platform and applicable for desktop applications.
It is the default behavior of PdfViewer that it will not fit a device in landscape mode. |
|
2 |
Intermittent crashes in Android when fast repeatedly, with a number of times, loading or unloading a large PDF file of a few megabytes |
We tried reproducing the issue “Application crashes while loading/unloading PDF document multiple times” in our side but it is working fine as expected. Please find the sample with which we tried to replicate the issue.
Kindly share the following details to analyze more on this issue and assist with a better solution.
1. Simple sample or modify the above sample.
2. Sample PDF document with which we could reproduce the issue.
3. Exception or stack trace messages.
4. Device specification details with which you are facing the issue.
5. Video demonstration of the issue.
6. PdfViewer and Xamarin Forms version you are using at your end. |
|
3 |
By the way, is it possible to disable the PDF default busy indicator when loading a large PDF file? Thanks. |
At present, there is no support to disable the busy indicator in Pdfviewer. Could you please share your requirement to disable the busy indicator to provide you an effective solution? |
|
have replied on 13 April that crashes still occurred for both platforms for version 18.1.0.42 and 43. Please see the above feedback.
I now also attach the same sample project but it used explicitly version 18.1.0.42, and this, as aforementioned, also has the same problems.
For Android, we need to remove pdfViewerControl.Unload() in OnDisappearing() to avoid crashes when repeating load and unload the pdf. |
As mentioned earlier, we suspect that you have been trying the NuGet of SfPdfviewer control in product version v18.1.0.42, which is available in NuGet.org. We haven’t included the fix in the NuGet which is available in the NuGet.org. Kindly confirm whether you have installed NuGet which we have provided on 9th April 2020 or NuGet which is available in NuGet.org.
On 9th April 2020, we have provided the patch for the issue in the version 18.1.0.42. Please find the patch link below,
However, we could not reproduce the issue in the Android Platform with NuGet available in the above link. Please find the video illustrating the issue is resolved in the Android Platform.
Note: Kindly follow the steps to clear the NuGet cache and then install patched NuGet to get the issue resolved.
|
|
For iPhone, please check out my reply on 13 April above. |
As mentioned in our last update, we will provide a patch for the issue, “Application crashes while loading /unloading the document continuously in iOS platform” on 6th May 2020. |
|
On iPhone, double-tapping on pdf will result in zooming (don't want this actually). No such behavior on Android. |
At present, we do not have support to restrict the zooming of PDF pages on double-tap in iOS platform. Currently, we are analyzing the feasibility for the support and we will update further details on 20th April 2020. |
|
As said and confirmed by you, the iPhone app still kept crashing after a few tries. Nevertheless, it crashed after a longer period of time if the pdf file is smaller and/or the repetitiveness is less quick. |
As mentioned in our last update, we will provide a patch for the issue, “Application crashes while loading /unloading the document continuously in iOS platform” on 6th May 2020.
We were unable to reproduce the issue, ”Application crashed after a longer period of time if the pdf file is smaller” in the iOS platform. Kindly share the following details to analyze more on this issue and assist you with a better solution.
|
|
Just a sidetrack, it would be nice if the Android version supports automatic fit to screen display when in landscape orientation. |
We were able to reproduce the issue, “PDF pages do not fit to the screen in Landscape mode” in the Android Platform with the provided information. Currently, we are validating the issue and we will update the further details on 21st April 2020.
|
|
On the other hand, again, the double-tapped zoom with iPhone is not consistent since we don't have this on Android. They should behave more or less the same, I guess. |
Currently we do not have the support to zoom the PDF pages on double tap in Android platform as like in the iOS platform.
As mentioned earlier, we will analyze the feasibility for the support to restrict the zooming of PDF pages on double-tap in iOS platform and we will update further details on 20th April 2020. |
|
We were able to reproduce the issue, “PDF pages do not fit to the screen in Landscape mode” in the Android Platform with the provided information. Currently, we are validating the issue and we will update the further details on 21st April 2020. |
On further analyzation, We load the PDF document into PDF Viewer as like in below screen shot in landscape mode while implementation itself.
Based on your requirement, we will consider it as a usability feature and will include this on volume 3 Main release 2020.
Please find the feedback link from below,
|
|
Currently we do not have the support to zoom the PDF pages on double tap in Android platform as like in the iOS platform.
As mentioned earlier, we will analyze the feasibility for the support to restrict the zooming of PDF pages on double-tap in iOS platform and we will update further details on 20th April 2020. |
At present, we do not have the support for zooming on double tap gesture and option to enable/disable it programmatically in iOS Platform. we will consider it as a usability feature and we will include this on Volume 3 Main release 2020.
Please track the status of the implementation from below link,
|