1
0
mirror of https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background synced 2025-04-09 00:43:25 +00:00

service stuck on swipe away fix ()

This commit is contained in:
Dimitrios Matanis 2018-01-09 19:51:50 +00:00 committed by Sebastián Katzer
parent 7285bec9e0
commit a2352f5d8b

@ -155,6 +155,7 @@ public class BackgroundMode extends CordovaPlugin {
public void onDestroy() {
stopService();
super.onDestroy();
android.os.Process.killProcess(android.os.Process.myPid());
}
/**