Hi there guys. I want to leave only the standart pdfviewer with no toolbar, is there a safe way in which i can remove all the unused parts from the nuget package or how can i achieve this? Because the app's size is justi huge and i understand that i don't even use a half of all that stuff installed.
NKNavaneetha Kannan Sudalai Muthu Syncfusion Team July 2, 2019 09:40 AM
Kindly provide us with more details about removing the parts from nuget package. Do you mean removing the files installed as part of the SfPdfViewer nuget package as shown below?
Or removing the code in the SfPdfViewer assembly related to features such as text search, annotations, bookmarks?
Also please provide the following details.
1.Platform in which you want to achieve this requirement.
2.The file size of the application in the desired platforms
These details will help us understand the problem better and provide you with an appropriate solution.
PAPavloJuly 2, 2019 02:21 PM
I don't know exactly what will decrease the app's size, so i let u decide :) I want to leave only the basic functionality - viewing without any toolbars
1. Currently i am working on Xamarin.Forms, focusing Android platform.
2. The maximum reduced size - the best :)
JPJhansi Priya Ramesh Syncfusion Team July 3, 2019 08:47 AM
Thank you for your update.
We could not decrease the size of application by disabling the PDFViewer features (Enable/Disable toolbar, text search, text selection, annotations etc.) or by removing the unused packages from the Nuget folder. However, you can optimize the size of application by changing the linker property of the Xamarin Forms Android project as mentioned in the below screenshot.
Please let us know if any concern
PAPavloJuly 3, 2019 12:28 PM
Already have done it, but still thanks for your support! This topic can be closed