Skip to content

Commit 8e3af59

Browse files
committed
chore: demo
1 parent 6ca2320 commit 8e3af59

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

demo-snippets/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"version": "0.0.1",
55
"dependencies": {
66
"@nativescript-community/perms": "2.2.21",
7-
"@nativescript-community/ui-webview": "link:../packages/webview",
7+
"@nativescript-community/ui-webview": "*",
8+
"@nativescript-community/ui-webview-rtc": "*",
89
"fast-deep-equal": "3.1.3",
910
"url": "0.11.0"
1011
}

demo-snippets/svelte/install.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import BasicExample from './BasicExample.svelte';
2+
import installWebRTC from '@nativescript-community/ui-webview-rtc';
23

3-
export function installPlugin() {}
4+
export function installPlugin() {
5+
installWebRTC();
6+
}
47

58
export const demos = [{ name: 'Basic Example', path: 'basic', component: BasicExample }];

demo-snippets/vue/install.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ import Vue from 'nativescript-vue';
22
import WebView from '@nativescript-community/ui-webview/vue';
33
import {WebViewTraceCategory} from '@nativescript-community/ui-webview';
44
import {Trace} from '@nativescript/core';
5+
import installWebRTC from '@nativescript-community/ui-webview-rtc';
56

67
import BasicExample from './BasicExample.vue';
78

89
export function installPlugin() {
910
Trace.addCategories(WebViewTraceCategory);
1011
Trace.enable();
12+
installWebRTC();
1113
Vue.use(WebView);
1214
}
1315

0 commit comments

Comments
 (0)