mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2025-12-13 09:53:22 +00:00
Code refactoring
This commit is contained in:
@@ -132,7 +132,7 @@ exports.configure = function (options) {
|
||||
*/
|
||||
exports.disableWebViewOptimizations = function () {
|
||||
if (this._isAndroid) {
|
||||
cordova.exec(null, null, 'BackgroundMode', 'disableWebViewOptimizations', []);
|
||||
cordova.exec(null, null, 'BackgroundMode', 'optimizations', []);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user