projectmatris / antimalwareapp

Anti-malware for Android using machine learning
https://www.projectmatris.tech/
GNU General Public License v3.0
255 stars 34 forks source link

Background service without notification. [Feature request] #77

Closed PixsaOJ closed 2 years ago

PixsaOJ commented 2 years ago

Allow to run background service without annoying notification.

I enabled unrestricted battery usage from settings for the app and blocked the notification. I don't know if it works now.

It would be nice if there was supported way from the inside app to do it.

projectmatris commented 2 years ago

There are restrictions for background services starting from Android API level 26 (Oreo). That is why we have to use a foreground service with always-on notification. We understand that this can be annoying sometimes. But this is something that is imposed by the Android system itself. You can read more about it here

PixsaOJ commented 2 years ago

@projectmatris If every app had that, I would have 4 notifications constantly. That can't be right.

There are many others that do this without notification. They simply ask background permission and permission for unrestricted battery usage.