I want to implement My WebRTC project in ionic 3 using Crosswalk Plugin. But after I install the plugin and put the code. The button doesn’t show anything or crosswalk doesn’t work. This is my code :
home.html
Ionic Blank
Hi, Welcome to Our Confrence
<ion-slide>
<h2>Please keep enjoy to call our customer service</h2>
<button ion-button block clear (click)="openWebPage('https://example.videocall.com')">Start Video Call</button>
</ion-slide>
home.ts
import { Component } from ‘@angular/core’;
import { NavController } from ‘ionic-angular’;
@Component({
selector: ‘page-home’,
templateUrl: ‘home.html’
})
export class HomePage {
constructor(public navCtrl: NavController) {
}
openWebPage(url : string) {
const browser = window.open(url, '_self', 'location=yes');
}
}
and my ionic info :
Ionic:
ionic (Ionic CLI) : 4.2.1
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 7.0.1
Cordova Platforms : android 6.2.3
Cordova Plugins : cordova-plugin-ionic-keyboard 2.0.5, cordova-plugin-i
onic-webview 2.0.0, (and 4 other plugins)
System:
Android SDK Tools : 26.1.1
NodeJS : v8.11.3 (C:\Program Files\nodejs\node.exe)
npm : 5.6.0
OS : Windows 8.1
Please guide me to resolve. Thanks