I am not getting BOOT_COMPLETE broadcast in my Xiaomi Redmi 2 Prime mobile.
BOOT_COMPLETE
My BroadcastReciever is ---
BroadcastReciever
public class OnBoot
You need to give permissions in the in build security application for xiaomi.
1. open the security app 2. go to permissions 3. go to auto start 4. enable the applications that you want to keep running in the background!
This worked for me..!