Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SimpleChat doesn't display properly for spark on mobile

Avatar

Level 1

I'm using the latest LCCS Spark Beta version. The SimpleChat displays RAW html instead of the styled text, plus it doesn't scroll properly. This problem was posted a few months back but is yet to be resolved. Looking at the LCCS sdk source code, the problem seems obvious: SimpleChat uses the class RichTextArea which the lccs team has created. That class checks to see if "textFlow" exists. If it doesn't as in the case of mobile it just assigns the raw html to the text field which is obviously unacceptable since the user will end up seeing raw html instead of styled text. Below is the problematic code in the lccs RichTextArea class. Is LCCS team supporting mobile devices?

               if (textFlow)

                    textFlow = TextConverter.importToFlow(str, TextConverter.TEXT_FIELD_HTML_FORMAT);

                else  {

                    //StyleableTextField(textDisplay).htmlText = str;

                    textDisplay.text = str;

                }

0 Replies