I am working on a project and whenever we run the app we get a notification App is running in background and even when the app is killed it just stays there. The app uses data from Firebase and also has a Bluetooth Service so I am not sure which one is causing the problem.
The notification comes as soon as the app is launched. I would have provided blocks of code but I am unable to narrow it down hence didn't know which part to include. The notification may become a major cause of uninstalling if the app is released thus any input in removing it will be extremely helpful.