I’m running
ionic plugin add cordova-plugin-background-mode
to install the background plugin and it completes successfully. However, importing BackgroundMode from ‘ionic-native’ in a file and calling its methods doesn’t work, as BackgroundMode is undefined.
package.json lists the plugin, but /ionic-native/dist/plugins/ has no associated files with this plugin. Anything I’m missing?
Edit I got it working with cordova.plugins.backgroundMode