File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 4
4
"version" : " 0.0.1" ,
5
5
"dependencies" : {
6
6
"@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" : " *" ,
8
9
"fast-deep-equal" : " 3.1.3" ,
9
10
"url" : " 0.11.0"
10
11
}
Original file line number Diff line number Diff line change 1
1
import BasicExample from './BasicExample.svelte' ;
2
+ import installWebRTC from '@nativescript-community/ui-webview-rtc' ;
2
3
3
- export function installPlugin ( ) { }
4
+ export function installPlugin ( ) {
5
+ installWebRTC ( ) ;
6
+ }
4
7
5
8
export const demos = [ { name : 'Basic Example' , path : 'basic' , component : BasicExample } ] ;
Original file line number Diff line number Diff line change @@ -2,12 +2,14 @@ import Vue from 'nativescript-vue';
2
2
import WebView from '@nativescript-community/ui-webview/vue' ;
3
3
import { WebViewTraceCategory } from '@nativescript-community/ui-webview' ;
4
4
import { Trace } from '@nativescript/core' ;
5
+ import installWebRTC from '@nativescript-community/ui-webview-rtc' ;
5
6
6
7
import BasicExample from './BasicExample.vue' ;
7
8
8
9
export function installPlugin ( ) {
9
10
Trace . addCategories ( WebViewTraceCategory ) ;
10
11
Trace . enable ( ) ;
12
+ installWebRTC ( ) ;
11
13
Vue . use ( WebView ) ;
12
14
}
13
15
You can’t perform that action at this time.
0 commit comments