NativeScript: XML template to HTML


I’m new to NativeScript and I’m working on a NativeScript application with TypeScript, Angular, and HTML.

I want to use this plugin in my application.
I’ve installed the plugin successfully and encountered no error and tns run android ran successfully.
In documentation, they have defined the way to use it in XML way:

<Page xmlns=""

  <chatView:ChatView id="myChatView" />

But I need to implement this in HTML form,
and I’ve tried it this way but it didn’t work.

<ChatView id="myChatView"></ChatView>

My NativeScript version: 4.1.2.

Please tell me what it that I’m not seeing or missed. Thanks in advance!


this plugin has not been updated since one year, so there is no support for NativeScript 4, anyway there is no support for NativeScript Angular in this plugin.

The best for you is to create your own component for the chat. A complete, concrete, NativeScript+Angular example is available here:

Answered By – Florian Thuin

Answer Checked By – Willingham (AngularFixing Volunteer)

Leave a Reply

Your email address will not be published.