android_autostart: ^0.0.2 copied to clipboard
You can request to enable AutoStart with Android AutoStart. Many Developers need to access AutoStart Setting Flutter including me, but there's no good plugin yet for autostart.So I decided to make Aut
Android AutoStart #
This is an AutoStart library for flutter. You can request to enable AutoStart with Android AutoStart. Many Developers need to access AutoStart Setting in Flutter including me, but there's no good plugin yet for autostart.So I decided to make AutoStart Plugin for Developers.
Getting Started #
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.
Installation and Usage #
android_autostart to the dependencies list
pubspec.yaml file as follow:
dependencies: flutter: sdk: flutter android_autostart: ^0.0.2
Then run the command
flutter packages get on the console.
Navigate to AutoStart Setting.
navigateAutoStartSetting Supported Manufactures: - Xiaomi - Oppo - Vivo - Letv - Honor
You can use CustomSetComponent.
await AndroidAutostart.customSetComponent( manufacturer: "xiaomi", pkg: "com.miui.securitycenter", cls: "com.miui.permcenter.autostart.AutoStartManagementActivity", );