There is a app which I have just like truecaller.
It runs just fine.
In One Plus and Mi devices the app does not work in background, due to optimizations.
Also app should start when phone is shutdown/reboot.
I just want it to run in Mi/OnePlus and other devices no matter what and never close the service.