I have an app that is just a service that launches on boot. I am developing at the system level, so I am using android:persistent=true in order to ensure my service
Works for preloaded applications, doesn't work for downloaded applications (e.g. APPs from Play Store, installed from apk or AS)
Suggest to use foreground service method - The highest priority process.
Official example here, Another full-code example here