Skip to content

A handy Android library by Abrar Hussain Beigh (aka Koshur Boii) . Simplifies checking and requesting auto-start permission on Android devices for seamless integration in applications.

License

Notifications You must be signed in to change notification settings

koshurboii/AutoStart-Permission-Helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoStartPermissionHelper

AutoStartPermissionHelper is a handy Android library developed by Abrar Hussain Beigh (aka Koshur Boii), designed to simplify the process of checking for and requesting auto-start permission on various Android devices. With this library, developers can seamlessly integrate auto-start permission handling into their Android applications, ensuring smooth user experiences across different device manufacturers.

Overview

AutoStartPermissionHelper is an Android library that assists in checking for and requesting auto-start permission on various Android devices. It provides a unified interface to handle auto-start permissions across different device manufacturers.

Features

  • Checks if auto-start permission is available on the device.
  • Requests auto-start permission if available.
  • Supports various device manufacturers including Xiaomi, Asus, Huawei, Samsung, and more.

Usage

  1. Integrating the Library: Add the AutoStartPermissionHelper class to your Android project.

  2. Checking for Permission:

    AutoStartPermissionHelper autoStartPermissionHelper = AutoStartPermissionHelper.getInstance();
     	
    // Check if the auto-start permission is available on the device
    boolean isAutoStartPermissionAvailable = autoStartPermissionHelper.isAutoStartPermissionAvailable(this, false);
    
    // If the permission is available, request it
    if (isAutoStartPermissionAvailable) {
        boolean granted = autoStartPermissionHelper.getAutoStartPermission(this, true, false);
    }
    

Install App demo apk

Download AutoStartPermissionHelper App demo apk

Contact and Social Media Accounts

TELEGRAM

INSTAGRAM

YOUTUBE

WhatsApp

License

MIT

About

A handy Android library by Abrar Hussain Beigh (aka Koshur Boii) . Simplifies checking and requesting auto-start permission on Android devices for seamless integration in applications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages