From 1d754b5612d64d84cbef4f7f4437bccd2e50c648 Mon Sep 17 00:00:00 2001 From: Shin <45375496+NguyenThanh1995@users.noreply.github.com> Date: Sun, 4 Jul 2021 22:15:46 +0700 Subject: [PATCH] fix package not working on Android Change package cordova-plugin-webserver obsolete to cordova-plugin-webserver2 --- src/@ionic-native/plugins/web-server/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/@ionic-native/plugins/web-server/index.ts b/src/@ionic-native/plugins/web-server/index.ts index 4e4bcf64e5..b40a4bb90b 100644 --- a/src/@ionic-native/plugins/web-server/index.ts +++ b/src/@ionic-native/plugins/web-server/index.ts @@ -57,9 +57,9 @@ export interface Request { */ @Plugin({ pluginName: 'WebServer', - plugin: 'cordova-plugin-webserver', + plugin: 'cordova-plugin-webserver2', pluginRef: 'window.webserver', - repo: 'https://github.com/bykof/cordova-plugin-webserver.git', + repo: 'https://github.com/nguyenthanh1995/cordova-plugin-webserver2.git', platforms: ['Android', 'iOS'], }) @Injectable()