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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SendMessageCommand is not working after v17.4.0.39

Thread ID:

Created:

Updated:

Platform:

Replies:

150589 Jan 13,2020 03:24 AM UTC Jan 13,2020 09:28 AM UTC Xamarin.Forms 1
loading
Tags: SfChat
Ali Alizadeh
Asked On January 13, 2020 03:24 AM UTC

Hi there

Just wanted to let you know that in SfChat control, SendMessageCommand is not invoked anymore after upgrading from v17.4.0.39 to v17.4.0.41.

<syncFusionSfChat:SfChat x:Name="sfChat" 
                           MessageShape="RoundedRectangle"
                           SendMessageCommand="{Binding SendMessageCommand}"
                           Messages="{Binding Messages}"
                           CurrentUser="{Binding CurrentUser}"
                           TimestampFormat="hh:mm tt"
                           ShowTimeBreak="True">

private ICommand _sendMessageCommand;
public ICommand SendMessageCommand
        {
            get => _sendMessageCommand;

            set
            {
                _sendMessageCommand = value;
                RaisePropertyChanged(() => SendMessageCommand);
            }
        }

SendMessageCommand = new Command(SendMessage);

private void SendMessage(object args)
        {
            (args as SendMessageEventArgs).Message.ShowAvatar = true;           
        }

The above code works perfectly fine with v17.4.0.39 but is broken afterwards.

Thanks


Farjana Parveen Ayubb [Syncfusion]
Replied On January 13, 2020 09:28 AM UTC

Hi Ali Alizadeh, 
 
Sorry for the inconvenience caused. 
 
We have analyzed your reported issue and its our known issue, and we have fixed and included in our upcoming weekly NuGet release and which will be available on 14th January, 2020. 
 
We appreciate your patience until then.   
   
Regards,
Farjana Parveen A
 


CONFIRMATION

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