diff --git a/src/android/BackgroundMode.java b/src/android/BackgroundMode.java index a57cfaf..653f915 100644 --- a/src/android/BackgroundMode.java +++ b/src/android/BackgroundMode.java @@ -75,7 +75,7 @@ public class BackgroundMode extends CordovaPlugin { @Override public void onServiceDisconnected(ComponentName name) { - // Nothing to do here + fireEvent(Event.FAILURE, "service disconnected"); } };