Coder Social home page Coder Social logo

android_package_manage's Introduction

android_package_manager Pub

Provides access to Android's native PackageManager API to fetch various information, such as installed applications, packages, permissions, etc.

About this Package

This plugin is purposed for Android use only. Allowing easier access to most commonly used methods of Android's PackageManager API. Adapted a few methods from existing package package_manager which seems not to be maintained recently.

Getting Started

Importing:

import package:android_package_manager/android_package_manager.dart;

Singleton access example:

final pm = AndroidPackageManager();

Available Methods

Please see official documentation of PackageManager API.
Disclaimer: I have been trying to adapt most of the available methods. Done with some simple instrumentation tests.
Tested methods can be found at

'example/integration_test/android_package_manager_test.dart'

Example Flutter app demonstrates the getInstalledApplications method.

TO-DOs

  • Proper documentation
  • DartDocs
  • Adjusting some methods to be Android Tiramisu compatible (deprecating some methods)
  • Documenting bitmask values
  • Separating interfaces into a separate package (maybe)

Issues

Feel free to file issues or any suggestions here

android_package_manage's People

Contributors

rafaelqcosta avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.