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


#1

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:

      cordova.plugins.backgroundMode.enable();
      cordova.plugins.backgroundMode.overrideBackButton();

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


#2

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.