0

Is there anyway to make an app start when system is turned on? Have tried autostart and android_autostart package, but its still not working. Tried using template code from the package but it do nothing at all.

 ElevatedButton(
       onPressed: () async => await AndroidAutostart.navigateAutoStartSetting,
       child: Text("Navigate AutoStart Setting"),
 ),
Ananda Pramono
  • 899
  • 1
  • 6
  • 18

1 Answers1

0

You can't This autostart feature is available: navigateAutoStartSetting Supported Manufactures: - Xiaomi - Oppo - Vivo - Letv - Honor

https://pub.dev/packages/android_autostart

Kozubi
  • 529
  • 3
  • 12