FLUTTER ECOSYSTEM

yash-garg/AppCheck

一个 Flutter 插件,可让您检查应用是否已安装/启用、启动应用并获取已安装应用的列表。

AppCheck 项目封面
Stars
14
Forks
31
最近推送(UTC)
2026年8月27日
项目状态
未归档
Yash Garg GitHub avatar
GITHUB User

Yash Garg ↗

Making sense of 0s and 1s

Bengaluru, India
语言KotlinDartSwiftRubyObjective-C

技术话题

此仓库发布的插件

使用的依赖

依赖清单 3 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}
  • flutter_lints开发依赖^5.0.0

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

AppCheck

Pub

A Flutter plugin that allows you to check if an app is installed/enabled, launch an app and get the list of installed apps.

Installation

First, add appcheck as a dependency in your pubspec.yaml file.

Methods available

  • checkAvailability(String uri)
  • isAppInstalled(String uri)
  • getInstalledApps() (only for Android)
  • isAppEnabled(String uri) (only for Android)
  • launchApp(String uri)

Permissions

Before using the plugin, you need to add declarations in your configuration files.

Android

If you want to use the getInstalledApps() function, you need the QUERY_ALL_PACKAGES permission.

<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />

If you only want to check certain apps and you know the packageName, add them via queries in AndroidManifest.xml.

<queries>
   <package android:name="com.google.android.apps.maps"/>
</queries>
iOS

Make sure your Info.plist file includes the necessary URL schemes under LSApplicationQueriesSchemes to check and launch other apps:

<key>LSApplicationQueriesSchemes</key>
<array>
    <string>scheme1</string>
    <string>scheme2</string>
    <!-- Add more schemes as needed -->
</array>

Example:

<key>LSApplicationQueriesSchemes</key>
<array>
    <string>fb</string>
    <string>twitter</string>
    <string>instagram</string>
    <string>whatsapp</string>
    <string>youtube</string>
    <string>comgooglemaps</string>
    <string>http</string>
    <string>https</string>
    <string>mailto</string>
    <!-- Add more schemes as needed -->
</array>

Check out Example.

Screenshots

https://raw.githubusercontent.com/Yash-Garg/AppCheck/develop/images/screen-android.png https://raw.githubusercontent.com/Yash-Garg/AppCheck/develop/images/screen-ios.png