vatsaltanna-simformsolutions / auto_start_flutter

A Package for handling auto-start permissions to fix background problems in some phones.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

auto_start_flutter

A flutter plugin for enabling auto-start for background services in samsung, honor, huawei, xiaomi, oppo, asus etc. phones. The plugin redirects the user to auto-start permission screen to allow auto-start and fix background problems in some phones.

pub package

Getting Started

Note: This Plugin is not implemented for IOS Devices.

** If there's any issue with the plugin make an issue on github.

Import the auto_start_flutter package.

import 'package:auto_start_flutter/auto_start_flutter.dart';

To Navigate to auto-start screen and get the permission put this in init-state of your first screen.

getAutoStartPermission();

To check if auto-start is available in your phone this function returns a bool.

isAutoStartAvailable

About

A Package for handling auto-start permissions to fix background problems in some phones.

License:BSD 2-Clause "Simplified" License


Languages

Language:Java 62.4%Language:Dart 37.6%