Spent half day and finally get this alternative from [this issue](https://github.com/katzer/cordova-plugin-background-mode/issues/559): https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background This project is outdated and no longer maintained. Don't waste time on it.