diff --git a/cordova-plugin-moodleapp/plugin.xml b/cordova-plugin-moodleapp/plugin.xml
index 555f89326..ddc3cf863 100644
--- a/cordova-plugin-moodleapp/plugin.xml
+++ b/cordova-plugin-moodleapp/plugin.xml
@@ -7,14 +7,10 @@
-
-
-
-
diff --git a/cordova-plugin-moodleapp/src/android/SystemUI.java b/cordova-plugin-moodleapp/src/android/SystemUI.java
deleted file mode 100644
index ed20bd28a..000000000
--- a/cordova-plugin-moodleapp/src/android/SystemUI.java
+++ /dev/null
@@ -1,45 +0,0 @@
-// (C) Copyright 2015 Moodle Pty Ltd.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-package com.moodle.moodlemobile;
-
-import android.graphics.Color;
-import android.os.Build;
-import android.util.Log;
-import android.view.Window;
-
-import org.apache.cordova.CordovaPlugin;
-import org.apache.cordova.CallbackContext;
-
-import org.json.JSONArray;
-
-public class SystemUI extends CordovaPlugin {
-
- private static final String TAG = "SystemUI";
-
- @Override
- public boolean execute(String action, JSONArray args, CallbackContext callbackContext) {
- try {
- switch (action) {
- // No actions yet.
- }
- } catch (Throwable e) {
- Log.e(TAG, "Failed executing action: " + action, e);
- }
-
- return false;
- }
-
-
-}
diff --git a/cordova-plugin-moodleapp/src/ts/index.ts b/cordova-plugin-moodleapp/src/ts/index.ts
index c95a35f4d..a11c3eba9 100644
--- a/cordova-plugin-moodleapp/src/ts/index.ts
+++ b/cordova-plugin-moodleapp/src/ts/index.ts
@@ -12,11 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-import { SystemUI } from './plugins/SystemUI';
import { SecureStorage } from './plugins/SecureStorage';
const api: MoodleAppPlugins = {
- systemUI: new SystemUI(),
secureStorage: new SecureStorage(),
};
diff --git a/cordova-plugin-moodleapp/src/ts/plugins/SystemUI.ts b/cordova-plugin-moodleapp/src/ts/plugins/SystemUI.ts
deleted file mode 100644
index 28494b2b1..000000000
--- a/cordova-plugin-moodleapp/src/ts/plugins/SystemUI.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-// (C) Copyright 2015 Moodle Pty Ltd.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-/**
- * Manages system UI settings.
- */
-export class SystemUI {
-
- /**
- * Set navigation bar color.
- *
- * @param color Color.
- */
- async setNavigationBarColor(color: string): Promise {
- await new Promise((resolve, reject) => {
- cordova.exec(resolve, reject, 'SystemUI', 'setNavigationBarColor', [color]);
- });
- }
-
-}
diff --git a/cordova-plugin-moodleapp/types/index.d.ts b/cordova-plugin-moodleapp/types/index.d.ts
index 780b56caa..502be9d21 100644
--- a/cordova-plugin-moodleapp/types/index.d.ts
+++ b/cordova-plugin-moodleapp/types/index.d.ts
@@ -12,13 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-import { SystemUI } from '../src/ts/plugins/SystemUI';
import { SecureStorage } from '../src/ts/plugins/SecureStorage';
declare global {
interface MoodleAppPlugins {
- systemUI: SystemUI;
secureStorage: SecureStorage;
}