PDF viewer/editor including (visual) signatures

Hi,

when displaying PDF documents with the respective control from the SF UI Controls library, we encounter two problems:

Reactivating the app from sleeping we get an exception: System.NotSupportedException: 'Unable to activate instance of type Syncfusion.SfPdfViewer.XForms.Droid.SfPdfViewerEx from native handle 0xd386f67c (key_handle 0x17b7ce1).'

However, this is not all, because the image in the signature object is not displayed (we see textual info, but not the embedded jpeg). 
Is this a known problem?

Anyone have any ideas?

Regards,
Tom




9 Replies 1 reply marked as answer

AV Ashokkumar Viswanathan Syncfusion Team June 4, 2020 10:04 AM UTC

Hi Thomas, 
 
Greetings from Syncfusion Support, 
 
Please find the details below, 
  1. Reactivating the app from sleeping we get an exception: System.NotSupportedException: 'Unable to activate instance of type Syncfusion.SfPdfViewer.XForms.Droid.SfPdfViewerEx from native handle 0xd386f67c (key_handle 0x17b7ce1).'
We have resolved the issue, “Application crashes with System.NotSupportedException” while reactivating the application from sleep in our 2020 Volume 1 Service pack Release with version 18.1.0.52. 
 
 
Please find the package below, Kindly try the below package to get the issue resolved  
 
  1. However, this is not all, because the image in the signature object is not displayed (we see textual info, but not the embedded jpeg). 
We have confirmed that the issue “Signature is not displayed properly in the loaded PDF document” is a defect and logged defect report for this issue. The patch for this issue will be delivered on  June 12th , 2020.  
 
Please find the feedback link below,  
 
 
Regards, 
Ashok Kumar Viswanathan. 



AV Ashokkumar Viswanathan Syncfusion Team June 12, 2020 03:57 PM UTC

Hi Thomas
 
The issue with “
Signature is not displayed properly in the loaded PDF document” has been fixed and the patch for this fix can be downloaded from the following location.    
  
Please find the feedback link below,  
 
Recommended approach - exe will perform automatic configuration 
Please find the patch setup from below location:  
  
Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment 
Please find the patch assemblies alone from below location:
  
      
     
NuGet:  
     
 
Assembly Version: 18.1.0.52
 

Installation Directions :  
This patch should replace the files “Syncfusion.Xamarin.SfPdfViewer.XForms.Android.dll, Syncfusion.Xamarin.SfPdfViewer.XForms.iOS.dll and Syncfusion.Xamarin.SfPdfViewer.XForms.UWP.dll” under the following folder. $system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\4.6 Eg : $system drive:\Program Files\Syncfusion\Essential Studio\9.3.0.61\precompiledassemblies\9.3.0.61\4.0 
 
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you will have to manually copy and paste them to the preferred location or you will have to run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies. 
 
 
Disclaimer :  
Please note that we have created this patch for version 18.1.0.52 specifically to resolve the following issue(s) reported in this/the Forum(s). 154886
 
If you have received other patches for the same version for other products, please apply all patches in the order received. 
 

This fix will be included in our 2020 Volume 2 Main Release which will be available in June 2020.  
 
  
Regards,  
Ashok Kumar Viswanathan  



TG Thomas Groß June 14, 2020 10:38 AM UTC

Hi Ashok, thanks for the answer.
It's still not working, the signature is not displayed properly in the loaded PDF document.

I'm trying to attach the PDF we use for testing.

The signatures are displayed with Adobe Reader.
Not on Xamarin.Forms with your 'Syncfusion.Xamarin.SfPdfViewer' control.

I hope you can help here.

Regards,
Tom


Attachment: Test_53bd4904.zip


SP Satheesh Palanisamy Syncfusion Team June 15, 2020 06:07 PM UTC

Hi Thomas, 
  
We tried to reproduce the issue “Signature is not displayed properly in the loaded PDF document” with the Custom NuGet provided in our last update and the behavior is working as expected. 
  
We suspect that the NuGet packages with fix are not installed properly, so kindly follow the steps to clear the NuGet cache and then install patched NuGet again to get this issue resolved.  
   
   
If still you are facing the same issue, we will setup a web meeting to investigate the problem and provide you the solution. Please let us know your availability. We will make every effort to have this scheduled on a date and time of your convenience.  
  
Regards, 
Satheesh Palanisamy. 



TG Thomas Groß June 20, 2020 01:52 AM UTC

Many thank you for the quick response, also for your offer.
The version "18.1.0.57" has solved the problem on Android. 
Perfect, great work.

On iOS the timestamp is not displayed. 
I have added this as an attachment.
They are screenshots of the annotations and the test PDF.


Regards,
Tom

Attachment: Examples_c1b49f85.zip


CH Clemens Heinrich June 20, 2020 03:33 PM UTC

Hi, sorry to jump in: The two primary issues are fixed! We see that the visual signature (i.e. the image) is now displayed and the wake-up-exception is gone. Great work!

However, when viewing the pdf file (from Tom's attachment) it shows an additional name and timestamp at the bottom of the signature, which is only visible in the Android version, but is not shown in iOS. Please inspect the two PNG files attached. Seeing the signature image, I think, should indicate that the nuget/cache issue was resolved

Sorry, just to summarize the status.
Best regards
C


AV Ashokkumar Viswanathan Syncfusion Team June 22, 2020 11:43 AM UTC

Hi Thomas,  
 
We were able to reproduce the issue, “Signature with text and time stamp is not displayed while loading a particular PDF document” in iOS and UWP Platform. Currently, we are validating the issue and we will update further details on June 24th , 2020. 
 
Regards, 
Ashok Kumar Viswanathan. 



AV Ashokkumar Viswanathan Syncfusion Team June 24, 2020 02:08 PM UTC

Hi Thomas, 
 
At present we do not have support to “Display text in signature form fields in Xamarin.Forms iOS and UWP platforms”. However, we will consider your requirement as a usability feature and provide the patch for the same on July 15th , 2020. 
 
Please find the feedback link below, 
 
Regards, 
Ashok Kumar Viswanathan. 



SP Satheesh Palanisamy Syncfusion Team July 15, 2020 05:56 PM UTC

  
Hi Thomas 
 
We have implemented the support to display text in signature form fields in Xamarin.Forms iOS and UWP platforms and the patch for this implementation can be downloaded from the following location. 
  
Recommended approach - exe will perform automatic configuration 
Please find the patch setup from below location:  
  
Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment 
Please find the patch assemblies alone from below location:
  
NuGet:  
 
Please find the feedback link below,  
 

Assembly Version: 18.
2.0.44 

Installation Directions :  
This patch should replace the files “
Syncfusion.SfPdfViewer.XForms.iOS.dll andSyncfusion.SfPdfViewer.XForms.UWP.dll” under the following folder. 
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\4.6 
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\9.3.0.61\precompiledassemblies\9.3.0.61\4.0 
 
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you will have to manually copy and paste them to the preferred location or you will have to run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies. 
 
Note :  
You can change how you receive bug fixes by navigating to the following link and updating your preferences. 
 
https://www.syncfusion.com/support/directtrac/patches 
 
Disclaimer :  
Please note that we have created this patch for version 18.
2.0.44 specifically to resolve the following issue(s) reported in this/the forum(s). 154886
If you have received other patches for the same version for other products, please apply all patches in the order received.  
 

This fix will be included in our 2020 Volume 2 Service pack, which will be available in the month of August 2020.
 
Regards,  
 
Satheesh Palanisamy 


Marked as answer
Loader.
Up arrow icon