Reputation: 2073
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="http://schemas.nativescript.org/tns.xsd"
xmlns:chatView="nativescript-chatview"
navigatingTo="onNavigatingTo">
<chatView:ChatView id="myChatView" />
</Page>
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!
Upvotes: 0
Views: 722
Reputation: 950
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: https://github.com/Especializa/nativescript-whatsapp-template
Upvotes: 1