diff --git a/android/app/src/main/res/xml/config.xml b/android/app/src/main/res/xml/config.xml index 422c888dab..b8b2ce0299 100644 --- a/android/app/src/main/res/xml/config.xml +++ b/android/app/src/main/res/xml/config.xml @@ -2,21 +2,10 @@ - - - - - - - - - - - diff --git a/ios/App/App/config.xml b/ios/App/App/config.xml index 4321543e45..3250a6156e 100644 --- a/ios/App/App/config.xml +++ b/ios/App/App/config.xml @@ -2,11 +2,6 @@ - - - - - diff --git a/ios/App/Podfile b/ios/App/Podfile index d672299969..b5814bee51 100644 --- a/ios/App/Podfile +++ b/ios/App/Podfile @@ -22,7 +22,6 @@ def capacitor_pods pod 'CapacitorSplashScreen', :path => '../../node_modules/@capacitor/splash-screen' pod 'SendIntent', :path => '../../node_modules/send-intent' pod 'CordovaPlugins', :path => '../capacitor-cordova-ios-plugins' - pod 'CordovaPluginsResources', :path => '../capacitor-cordova-ios-plugins' end target 'Floccus' do diff --git a/package-lock.json b/package-lock.json index 475b50f274..680609afe4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,9 +24,7 @@ "async-lock": "^1.2.8", "async-parallel": "^1.2.3", "batching-toposort": "^1.2.0", - "cordova-plugin-background-mode": "https://github.com/brunochikuji/cordova-plugin-background-mode#master", "cordova-plugin-device": "^2.1.0", - "cordova-plugin-foreground-service": "^1.1.3", "cordova-plugin-inappbrowser": "^5.0.0", "core-js": "3.x", "fast-xml-parser": "^4.2.7", @@ -5070,21 +5068,6 @@ "is-plain-object": "^5.0.0" } }, - "node_modules/cordova-plugin-background-mode": { - "version": "0.7.3", - "resolved": "git+ssh://git@github.com/brunochikuji/cordova-plugin-background-mode.git#5df0632fdd40d4e1f35fff3a632202824b70929d", - "engines": [ - { - "name": "cordova", - "version": ">=3.0.0" - }, - { - "name": "android-sdk", - "version": ">=16" - } - ], - "license": "Apache 2.0" - }, "node_modules/cordova-plugin-device": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/cordova-plugin-device/-/cordova-plugin-device-2.1.0.tgz", @@ -5098,11 +5081,6 @@ } } }, - "node_modules/cordova-plugin-foreground-service": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/cordova-plugin-foreground-service/-/cordova-plugin-foreground-service-1.1.3.tgz", - "integrity": "sha512-/C2Z8w9JIfAaLeXP290msQP9jcHR+CAJYbp6/x+mS21VtvS2Ug0upKsgjEzzSzRnt08Mr8kuwCV7juUd6eCWcw==" - }, "node_modules/cordova-plugin-inappbrowser": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/cordova-plugin-inappbrowser/-/cordova-plugin-inappbrowser-5.0.0.tgz", diff --git a/package.json b/package.json index 4accc106cf..bce225cbfa 100644 --- a/package.json +++ b/package.json @@ -85,9 +85,7 @@ "async-lock": "^1.2.8", "async-parallel": "^1.2.3", "batching-toposort": "^1.2.0", - "cordova-plugin-background-mode": "https://github.com/brunochikuji/cordova-plugin-background-mode#master", "cordova-plugin-device": "^2.1.0", - "cordova-plugin-foreground-service": "^1.1.3", "cordova-plugin-inappbrowser": "^5.0.0", "core-js": "3.x", "fast-xml-parser": "^4.2.7", @@ -124,4 +122,4 @@ "not KaiOS >= 0", "not Samsung >= 0" ] -} \ No newline at end of file +} diff --git a/src/ui/native.js b/src/ui/native.js index 2066d25cef..1fa232662c 100644 --- a/src/ui/native.js +++ b/src/ui/native.js @@ -13,8 +13,6 @@ Vue.mixin(i18nPlugin) Vue.mixin(capacitor) document.addEventListener('deviceready', function() { - // eslint-disable-next-line no-undef - cordova.plugins.backgroundMode.enable() // eslint-disable-next-line no-undef window.open = cordova.InAppBrowser.open }, false)