Background mode doesn't work

Hi

I have a problem with my app. The background mode does not work. It tells me that the plugin is not installed or when I want to use another plugin that asks to add to the confi:

I get an error when executing the app.

Thank you

You can use this plugin ::

https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background/src/master/

1 Like

The problem with that plugin is when I put ‚Äúcordova.plugins.backgroundMode.enable ();‚ÄĚ I have an error of:
‚ÄúProperty ‚ÄėbackgroundMode‚Äô does not exist on type ‚ÄėCordovaPlugins‚Äô.‚ÄĚ

Thank you

I share you updated plugin link. So you can try it.

1 Like