Commit 7a327834 by Sebastián Katzer

Set device as not ready onDestroy

parent ef5cb49b
...@@ -91,6 +91,15 @@ public class LocalNotification extends CordovaPlugin { ...@@ -91,6 +91,15 @@ public class LocalNotification extends CordovaPlugin {
} }
/** /**
* The final call you receive before your activity is destroyed.
*/
@Override
public void onDestroy() {
deviceready = false;
isInBackground = true;
}
/**
* Executes the request. * Executes the request.
* *
* This method is called from the WebView thread. To do a non-trivial * This method is called from the WebView thread. To do a non-trivial
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment