mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2025-12-16 11:23:23 +00:00
Disabled by default
This commit is contained in:
@@ -41,7 +41,7 @@ public class BackgroundMode extends CordovaPlugin {
|
||||
private boolean inBackground = false;
|
||||
|
||||
// Flag indicates if the plugin is enabled or disabled
|
||||
private boolean isDisabled = false;
|
||||
private boolean isDisabled = true;
|
||||
|
||||
// Flag indicates if the service is bind
|
||||
private boolean isBind = false;
|
||||
@@ -61,7 +61,6 @@ public class BackgroundMode extends CordovaPlugin {
|
||||
@Override
|
||||
public void onServiceDisconnected(ComponentName name) {
|
||||
Log.w("BackgroundMode", "Service disrupted");
|
||||
//stopService();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user