cordova-plugin-background-mode: `cordova.plugins` is `undefined`!

I installed the plugin through the command line, and it’s visible in the plugins-list when running the cmd cordova plugins but in javascript cordova.plugins is undefined and so is ofcourse cordova.plugin.backgroundMode! I tried checking the existence of cordova.plugins.backgroundMode after deviceready and manually through eval minutes after load on real device, and it’s nothing there.

About this issue

Most upvoted comments