We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Delete unused stuff

Thread ID:





145613 Jul 1,2019 10:10 AM UTC Jul 3,2019 05:28 PM UTC Xamarin.Forms 4
Tags: PdfViewer
Asked On July 1, 2019 10:10 AM UTC

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.

Navaneetha Kannan Sudalai Muthu [Syncfusion]
Replied On July 2, 2019 02:40 PM UTC

Hi Pavlo,  

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.  

Navaneetha Kannan  

Replied On July 2, 2019 07:21 PM UTC

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 :) 

Jhansi Priya Ramesh [Syncfusion]
Replied On July 3, 2019 01:47 PM UTC

 Hi Pavlo, 

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 


Replied On July 3, 2019 05:28 PM UTC

Already have done it, but still thanks for your support! This topic can be closed


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon