npm i --save @nativescript-community/ui-webview-rtc

NativeScript WebView RTC

npm downloads npm downloads npm

A NativeScript Plugin to add webRTC support to @nativescript-community/ui-webview


Run the following command from the root of your project:

tns plugin add @nativescript-community/ui-webview-rtc

This command automatically installs the necessary files, as well as stores @nativescript-community/ui-webview-rtc as a dependency in your project's package.json file.


To install the plugin run

import install from '@nativescript-community/ui-webview-rtc';

then simply use the webRTC="true" as a webview property