how to start app on boot in android tv box
I have an application on android tv box and I want to start this app when TV start or this android box connects to TV.
and also I work in flutter but this app is only on Android.
I add this to AndroidManifest.xml:
and this is BootReciever
package
com.example.app
import android.content.BroadcastReceiver
import android.content.Context;
import android.content.Intent;
import com.example.insoft_web.MainActivity
class BootReciever:...