SfRichTextEditorRendererExt ver 18.1.0.42 (Volume 1 2020 - April 01, 2020)

When i reopen the form i have, but the same form work well in ios:


android.runtime.JavaProxyThrowable: at Syncfusion.XForms.Android.RichTextEditor.SfRichTextEditorRendererExt.Dispose (System.Boolean disposing) [0x00000] in <e2d40f68fc6447af88b6c7886f05bd67>:0

at Java.Lang.Object.Dispose () [0x00000] in <95391e2f287349339764a4ef45e38735>:0

at Xamarin.Forms.Platform.Android.VisualElementPackager.RemoveChild (Xamarin.Forms.VisualElement view) [0x0007f] in <78df70a8772c4bef8b9762ec32567ea7>:0

at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x000b4] in <78df70a8772c4bef8b9762ec32567ea7>:0

at Xamarin.Forms.Platform.Android.VisualElementPackager.Dispose 


12 Replies

DS Devaraj Sekar Syncfusion Team April 7, 2020 02:14 PM UTC

Hi Ivano, 
  
Thank you for contacting Syncfusion support. 
  
The reported issue with “Dispose issue in SfRichTextEditor Android” occurs only in Prism layout and we are analyzing on it. We will update the details on 9 April 2020. Meanwhile, kindly confirm whether the same issue occurs from your end or kindly provide us detailed information, design layout which will be helpful for us to provide a prompt solution at earliest. 
  
Regards, 
Devaraj S 



IV Ivano April 8, 2020 04:06 PM UTC

this is the xaml: I don't use Prism but it is base layout

<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
                Title="Tab"
               xmlns:ffimageloading="clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms" xmlns:richtexteditor="clr-namespace:Syncfusion.XForms.RichTextEditor;assembly=Syncfusion.SfRichTextEditor.XForms"
             BackgroundColor="{DynamicResource PageBackgroundColor}"
             x:Class="Thinkdog.Views.ImageView">
         <ContentPage.Content>
                <ScrollView    x:Name="scrollView"
                BackgroundColor="{DynamicResource PageBackgroundColorMe}">
      
        <Grid x:Name="Myphoto" Margin="10" >
            <Grid.RowDefinitions>
                <RowDefinition Height="50"></RowDefinition>
               <RowDefinition Height="*"></RowDefinition>
                <RowDefinition Height="250" > </RowDefinition>
                
                  <RowDefinition Height="60"></RowDefinition>
            </Grid.RowDefinitions>

       <StackLayout Grid.Row="1"  >                
      <richtexteditor:SfRichTextEditor     VerticalOptions="FillAndExpand"   HtmlText="{Binding Descrizione, Mode=TwoWay}"
                                         ToolbarOptions="Bold,Italic,FontColor,FontSize,NumberList" 
                                          PlaceHolder="Descrizione..." x:Name="descrizione" >
      
          </richtexteditor:SfRichTextEditor>
          </StackLayout>   

.....



DS Devaraj Sekar Syncfusion Team April 9, 2020 03:12 PM UTC

  
Hi Ivano,
 
Thank you for the patience. 
We have fixed the mentioned issue and generated custom NuGet with the latest version, which can be downloaded from the below link. 
The fix will be included in our upcoming weekly NuGet release which is estimated to be available on 14th April 2020 tentatively. 
 
Regards,
Devaraj S



IV Ivano April 9, 2020 08:26 PM UTC

I am sorry but it is not working.
Now I use the ver 17.4.0.46 for Android and the last version 18.1.0.* for iOS.
It is very strange and Now I need to do 2 different compilation one for iOS and the other compilation for Android.

In dettails when open the form with the SfRichTextEditor work but when click back button the application crashes.




DS Devaraj Sekar Syncfusion Team April 10, 2020 08:53 AM UTC

Hi Ivano,
 
Thank you for the update. 
The mentioned behavior works as expected from our side. We have prepared a sample based on the provided information with referring provided custom NuGet, which can be downloaded from the below link. 
We request you clear the NuGet cache before installing the latest version Syncfusion.Xamarin.SfRichTextEditor.    
To clear the existing NuGet, please follow the steps mentioned below.    
1.Uninstall the existing SfRichTextEditor NuGet in the application.    
2. Then, clear the existing NuGet reference in your system by deleting the SfRichTextEditor NuGet folder from the mentioned location    
Location: C:\Users\{XXX}\.nuget or Open Run command in window, type .nuget and go to the respective folder(syncfusion.xamarin. SfRichTextEditor).   
3. Now, refer the latest NuGet in your application. 
  
Regards, 
Devaraj S 



WH William Hutchison April 12, 2020 03:07 PM UTC

I am experiencing the same problem.  I will implement the official fix when it is released next week.



DS Devaraj Sekar Syncfusion Team April 13, 2020 02:01 PM UTC

Hi William, 
  
Thank you for the update. 
  
We were not able to reproduce the mentioned issue from our side after using the provided patch in the previous update. We have prepared a video illustration with the provided sample, which can be downloaded from the below link. 
  
Kindly provide us the detailed information about issue reproducing scenario or modify the provided sample to reproduce the exact issue scenario or provide us the video illustration of the mentioned issue, which will be helpful for us to provide a prompt solution at earliest. 
  
We suggest you to clear the existing NuGet, please follow the steps mentioned below.   
  
1.Uninstall the existing SfRichTextEditor NuGet in the application.    
2. Then, clear the existing NuGet reference in your system by deleting the SfRichTextEditor NuGet folder from the mentioned location    
Location: C:\Users\{XXX}\.nuget or Open Run command in window, type .nuget and go to the respective folder(syncfusion.xamarin. SfRichTextEditor).   
3. Now, refer the latest NuGet in your application. 
  
Regards, 
Devaraj S 




IV Ivano April 14, 2020 07:08 AM UTC

I reproduce the error.
if I use the library with:

  • Syncfusion.xamarin.button
  • Syncfusion.xamarin.core
  • Syncfusion.xamarin.sfautocomplete
  • Syncfusion.xamarin.sfcarosel
  • Syncfusion.xamarin.sfimageeditor
  • Syncfusion.xamarin.sfrichtexteditor
  • Syncfusion.xamarin.sfrotator
  • Syncfusion.xamarin.sfbusy

and in the iOS section AppDelegate class add:


        public override bool FinishedLaunching(UIApplication app, NSDictionary options)

        {

            new Syncfusion.SfAutoComplete.XForms.iOS.SfAutoCompleteRenderer();


            global::Xamarin.Forms.Forms.Init();


            new SfRotatorRenderer();

            new SfBusyIndicatorRenderer();


            Xamarin.FormsMaps.Init();

         

        


            Syncfusion.XForms.iOS.Border.SfBorderRenderer.Init();

            Syncfusion.XForms.iOS.Buttons.SfButtonRenderer.Init();

            SfTextInputLayoutRenderer.Init();


            LoadApplication(new App());


            return base.FinishedLaunching(app, options);

        }


The component don't work.

In the attach the sample.


Could you help me?

Thanks so much

 I use:


=== Visual Studio Community 2019 for Mac ===


Version 8.5.2 (build 13)

Installation UUID: 2f4c518b-047f-4548-85ce-60370f9f0200

GTK+ 2.24.23 (Raleigh theme)

Xamarin.Mac 6.14.1.39 (d16-5 / 30e8706b4)


Package version: 608000123


=== Mono Framework MDK ===


Runtime:

Mono 6.8.0.123 (2019-10/1d0d939dc30) (64-bit)

Package version: 608000123


=== Roslyn (Language Service) ===


3.5.0-beta4-20125-04+1baa0b3063238ed752ad1f0368b1df6b6901373e


=== NuGet ===


Versione: 5.4.0.6315


=== .NET Core SDK ===


SDK: /usr/local/share/dotnet/sdk/3.1.200/Sdks

Versioni SDK:

3.1.200

3.1.102

3.1.101

3.1.100

3.0.101

3.0.100

2.1.701

2.1.505

2.1.504

2.1.302

2.1.301

SDK di MSBuild: /Library/Frameworks/Mono.framework/Versions/6.8.0/lib/mono/msbuild/Current/bin/Sdks


=== Runtime di .NET Core ===


Runtime: /usr/local/share/dotnet/dotnet

Versioni runtime:

3.1.2

3.1.1

3.1.0

3.0.1

3.0.0

2.1.16

2.1.15

2.1.14

2.1.13

2.1.12

2.1.9

2.1.8

2.1.2

2.1.1


=== Xamarin.Profiler ===


Versione: 1.6.12.29

Percorso: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler


=== Updater ===


Versione: 11


=== Apple Developer Tools ===


Xcode 11.4 (16134)

Build 11E146


=== Xamarin.Mac ===


Version: 6.16.0.13 (Visual Studio Community)

Hash: b75deaf82

Branch: d16-5-xcode11.4

Build date: 2020-04-01 21:33:18-0400


=== Xamarin.iOS ===


Version: 13.16.0.13 (Visual Studio Community)

Hash: b75deaf82

Branch: d16-5-xcode11.4

Build date: 2020-04-01 21:33:19-0400



=== Operating System ===


Mac OS X 10.15.4

Darwin 19.4.0 Darwin Kernel Version 19.4.0

    Wed Mar  4 22:28:40 PST 2020

    root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64



Attachment: RTENavigation2_7bfa8d91.zip


DS Devaraj Sekar Syncfusion Team April 14, 2020 01:06 PM UTC

Hi William, 
  
Thank you for the patience. 
  
We suggest you to check with our latest weekly NuGet release version(18.1.0.44) which can be downloaded from the below link. 
  
  
If the issue still persists kindly let us know for further assistance. 
  
Regards, 
Devaraj S 



IV Ivano April 14, 2020 08:27 PM UTC

I have found the problem 
In the class I had:

AppDelegate.AppDelegate on FinishedLaunching function and I used:
SfTextInputLayoutRenderer.Init(); 
with "using Syncfusion.XForms.iOS.RichTextEditor;" but it's not working.


now I use :

Syncfusion.XForms.iOS.RichTextEditor.SfRichTextEditorRenderer.Init();

and now it is working.

It is strange because should be the same call.


DB Dilli Babu Nandha Gopal Syncfusion Team April 15, 2020 07:26 AM UTC

Hi Ivano, 
 
Thank you for your update. 
 
We are glad to know that the reported issue has been resolved at your end. Please let us know if you need any further assistance on this. 
 
Regards, 
Dilli babu. 



IV Ivano April 15, 2020 11:28 AM UTC

It is all ok. thank so much for your assistance.

Ivano

Loader.
Up arrow icon