From 9cc98e267e06e4b5d7ca9b6e0927ad48d4637144 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Wed, 14 Oct 2020 08:26:21 +0200 Subject: [PATCH] MOBILE-3565 core: Install WebView ionic-native package --- package-lock.json | 20 ++++++++++++++++++++ package.json | 2 ++ src/app/core/emulator/emulator.module.ts | 4 ++++ tsconfig.app.json | 3 ++- tsconfig.json | 3 ++- 5 files changed, 30 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index a336a9a04..4c2bf21f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2224,6 +2224,21 @@ "@types/cordova": "^0.0.34" } }, + "@ionic-native/ionic-webview": { + "version": "5.28.0", + "resolved": "https://registry.npmjs.org/@ionic-native/ionic-webview/-/ionic-webview-5.28.0.tgz", + "integrity": "sha512-Ex/IH/LIa+4X4yGFgo4/W00IWaVsF6KkZuwIG2s3zZQEgXU3tvcgxAOEzkNCbcDC5dXcFH0z/41twZ+YC6gu+A==", + "requires": { + "@types/cordova": "^0.0.34" + }, + "dependencies": { + "@types/cordova": { + "version": "0.0.34", + "resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz", + "integrity": "sha1-6nrd907Ow9dimCegw54smt3HPQQ=" + } + } + }, "@ionic-native/keyboard": { "version": "5.28.0", "resolved": "https://registry.npmjs.org/@ionic-native/keyboard/-/keyboard-5.28.0.tgz", @@ -3053,6 +3068,11 @@ "cordova-plugin-file-transfer": "*" } }, + "@types/dom-mediacapture-record": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/@types/dom-mediacapture-record/-/dom-mediacapture-record-1.0.7.tgz", + "integrity": "sha512-ddDIRTO1ajtbxaNo2o7fPJggpN54PZf1ZUJKOjto2ENMJE/9GKUvaw3ZRuQzlS/p0E+PnIcssxfoqYJ4yiXSBw==" + }, "@types/glob": { "version": "7.1.3", "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", diff --git a/package.json b/package.json index f92313d7e..14fd1b867 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "@ionic-native/globalization": "^5.28.0", "@ionic-native/http": "^5.28.0", "@ionic-native/in-app-browser": "^5.28.0", + "@ionic-native/ionic-webview": "^5.28.0", "@ionic-native/keyboard": "^5.28.0", "@ionic-native/local-notifications": "^5.28.0", "@ionic-native/network": "^5.28.0", @@ -60,6 +61,7 @@ "@ngx-translate/http-loader": "^6.0.0", "@types/cordova": "0.0.34", "@types/cordova-plugin-file-transfer": "^1.6.2", + "@types/dom-mediacapture-record": "^1.0.7", "com-darryncampbell-cordova-plugin-intent": "^2.0.0", "cordova": "^10.0.0", "cordova-android": "^8.1.0", diff --git a/src/app/core/emulator/emulator.module.ts b/src/app/core/emulator/emulator.module.ts index 14a401ab9..2b73dbc3f 100644 --- a/src/app/core/emulator/emulator.module.ts +++ b/src/app/core/emulator/emulator.module.ts @@ -23,7 +23,9 @@ import { FileOpener } from '@ionic-native/file-opener/ngx'; import { FileTransfer } from '@ionic-native/file-transfer/ngx'; import { Geolocation } from '@ionic-native/geolocation/ngx'; import { Globalization } from '@ionic-native/globalization/ngx'; +import { HTTP } from '@ionic-native/http/ngx'; import { InAppBrowser } from '@ionic-native/in-app-browser/ngx'; +import { WebView } from '@ionic-native/ionic-webview/ngx'; import { Keyboard } from '@ionic-native/keyboard/ngx'; import { LocalNotifications } from '@ionic-native/local-notifications/ngx'; import { Network } from '@ionic-native/network/ngx'; @@ -58,6 +60,7 @@ import { Zip } from '@ionic-native/zip/ngx'; FileTransfer, Geolocation, Globalization, + HTTP, InAppBrowser, Keyboard, LocalNotifications, @@ -68,6 +71,7 @@ import { Zip } from '@ionic-native/zip/ngx'; SQLite, StatusBar, WebIntent, + WebView, Zip, ], }) diff --git a/tsconfig.app.json b/tsconfig.app.json index a323c7afd..b31726606 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -6,7 +6,8 @@ "cordova-plugin-file-transfer", "cordova-plugin-inappbrowser", "cordova", - "node" + "node", + "dom-mediacapture-record" ], "paths": { "@/*": ["*"], diff --git a/tsconfig.json b/tsconfig.json index e1026f019..a3bacffb3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,7 +22,8 @@ "cordova-plugin-inappbrowser", "cordova", "jest", - "node" + "node", + "dom-mediacapture-record" ], "paths": { "@/*": ["*"],