v1.0.1
device_installed_apps
기기의 설치된 앱과 관련된 메서드를 제공하는 Flutter용 플러그인입니다.
31좋아요 11530일 다운로드140Pub 점수
Android
Hofinity/DeviceInstalledApps-FlutterPlugin open-source repository details.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A new Flutter plugin project.
Plugin for Flutter with methods related to device installed apps.
| Supported platform |
|---|
| Android |
List<AppInfo> apps = await DeviceDeviceInstalledApps.getApps(
String bundleIdPrefix,
bool includeSystemApps,
bool includeIcon,
List<String> permissions,
bool shouldHasAllPermissions);
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);
List<AppInfo> apps = await DeviceDeviceInstalledApps.getSystemApps(
String bundleIdPrefix,
bool includeIcon,
List<String> permissions,
bool shouldHasAllPermissions);
var permissions = ['android.permission.NFC','android.permission.ACCESS_FINE_LOCATION'];
List<AppInfo> apps = await DeviceDeviceInstalledApps.getSystemApps(permissions: permissions, bundleIdPrefix: 'com.hofinity', shouldHasAllPermissions: false);
List<String> apps = await DeviceDeviceInstalledApps.getAppsBundleIds(
String bundleIdPrefix,
bool includeSystemApps,
bool includeIcon,
List<String> permissions,
bool shouldHasAllPermissions);
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);
AppInfo app = await DeviceInstalledApps.getAppInfo(String bundleId);
DeviceInstalledApps.launchApp(String bundleId);
DeviceInstalledApps.openSettings(String bundleId);
bool isSystemApp = await DeviceInstalledApps.isSystemApp(String bundleId);
의존성 목록 4 개
{"sdk":"flutter"}^2.0.2{"sdk":"flutter"}^2.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗