Has anyone been able to get Background Mode Plugin working on android?


I’m trying to use this plugin: http://ionicframework.com/docs/native/background-mode/

I get no errors at complication or run-time but it doesn’t seem to be doing anything.

I’ve even resorted to calling the cordova plugin directly, bypassing ionic-native but no luck:


I’m using the latest version of Ionic (3.3) and running the app on Android (6.0)


Not sure what I did but it seems as though part of the plugin is working. When I am in another app I see the notification that shows that my app is still running but the back button override is not doing anything. I’ve even set up an starter app with the plugin and it similarly doesn’t appear to be doing anything.


Hi, do you have found a solution ? I have the same problem


I installed

and add the code for wake_lock

Is working for android 5, 7 and 10 :slight_smile:

Or you can try

1 Like