パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v1.0.1

device_installed_apps

デバイスにインストールされたアプリに関連するメソッドを提供する Flutter プラグイン。

Android
30日間ダウンロード
115
いいね数
31
Pub ポイント
140

パッケージをインストール

flutter pub add device_installed_apps

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

device_installed_apps パッケージは、Android デバイスにインストールされたアプリに関する情報を取得するためのメソッドを提供する Flutter プラグインです。開発者はインストール済みアプリを一覧表示し、パッケージ名にアクセスし、アプリラベルやアイコンなどのメタデータを収集できます。Android専用に設計されており、デバイスレベルのアプリ可視性を必要とする Flutter アプリにシームレスに統合できます。システムユーティリティ、アプリ管理ツール、またはインストール済みアプリデータに依存する分析機能に役立ちます。iOS をサポートしていないため、Android 環境でのみ利用可能です。

用途

  • アプリ在庫トラッキング
  • システムユーティリティ開発
  • インストール済みアプリの分析
  • デバイスの健康状態モニタリング

主な機能

  • インストールされた Android アプリを一覧表示
  • パッケージ名とラベルを取得する
  • アプリメタデータにアクセス
  • Android専用のプラットフォームサポート
  • シンプルな API インテグレーション

適している対象

  • Android専用アプリ開発者
  • システムツール作成者
  • アプリ管理ユーティリティ
  • 分析に焦点を当てたアプリケーション

注意事項

  • Android プラットフォームに限定
  • 実行時権限が必要です
  • iOS 対応なし
  • プライバシーに関する影響を伴う可能性があります
  • デバイス固有の実装に依存する

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

device_installed_apps

A new Flutter plugin project.

Getting Started

Plugin for Flutter with methods related to device installed apps.

Supported platform
Android

Installation Guide

Usage

Device installed apps
List<AppInfo> apps = await DeviceDeviceInstalledApps.getApps(
							String bundleIdPrefix,
							bool includeSystemApps, 
							bool includeIcon,
		      				List<String> permissions,
      						bool shouldHasAllPermissions);
Example
var permissions = ['android.permission.NFC','android.permission.ACCESS_FINE_LOCATION'];
List<AppInfo> apps = await DeviceDeviceInstalledApps.getApps(includeSystemApps: true, permissions: permissions, bundleIdPrefix: 'com.hofinity', shouldHasAllPermissions: false);

Device system apps
List<AppInfo> apps = await DeviceDeviceInstalledApps.getSystemApps(
							String bundleIdPrefix,
							bool includeIcon,
		      				List<String> permissions,
      						bool shouldHasAllPermissions);
Example
var permissions = ['android.permission.NFC','android.permission.ACCESS_FINE_LOCATION'];
List<AppInfo> apps = await DeviceDeviceInstalledApps.getSystemApps(permissions: permissions, bundleIdPrefix: 'com.hofinity', shouldHasAllPermissions: false);

Device installed apps bundleIds
List<String> apps = await DeviceDeviceInstalledApps.getAppsBundleIds(
							String bundleIdPrefix,
							bool includeSystemApps, 
							bool includeIcon,
		      				List<String> permissions,
      						bool shouldHasAllPermissions);
Example
var permissions = ['android.permission.NFC','android.permission.ACCESS_FINE_LOCATION'];
List<String> apps = await DeviceDeviceInstalledApps.getAppsBundleIds(includeSystemApps: true, permissions: permissions, bundleIdPrefix: 'com.hofinity', shouldHasAllPermissions: false);

Get an app info
AppInfo app = await DeviceInstalledApps.getAppInfo(String bundleId);
Launch an app
DeviceInstalledApps.launchApp(String bundleId);
Open app os settings
DeviceInstalledApps.openSettings(String bundleId);
Check if an app is system app
bool isSystemApp = await DeviceInstalledApps.isSystemApp(String bundleId);

カテゴリー

依存関係

依存関係一覧 1 件

  • plugin_platform_interface^2.0.2

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。