I am trying to launch a simple BroadcastReceiver by the BOOT_COMPLETED
intent for Android 8.0, and using the Nexus 5X as emulator, no other service or class inside the project. I tried many solutions from Google but none of them work.
In summary, my problem is:
1) When I open the App A, the BroadcastReceiver of App A cannot receive the intent, but the BroadcastReceiver of App B can receive the BOOT_COMPLETED
intent, .
2) When I open the App B, App A can receive the intent, but App B cannot.
Can somebody tell me what's happening? Thank you a lot.