boot_completed not working on Android 10 Q API level 29
I know that this may be old but I have faced the same problem and according to this: https://developer.android.com/guide/components/activities/background-starts The easiest solution I came up with was simply adding <uses-permission android:name=”android.permission.SYSTEM_ALERT_WINDOW”/> And setting up the receiver: <receiver android:name=”.BootReceiver”> <intent-filter> <action android:name=”android.intent.action.BOOT_COMPLETED” /> </intent-filter> </receiver> To the manifest. Receiver code: @Override public void onReceive(Context context, Intent … Read more