Keep running the ionic 3 app in Background

Hello, I build the ionic 3 android app with firebase. Now I want to keep running my app if the app was closed or remove from the recent list. I also used the Cordova-background-mode plugin but it is not working if the app is closed.