Skip to content
pubscout

install_plugin

2.1.0, released 3 years ago by heyongjian.com

Installs Android APKs and opens iOS App Store URLs from Flutter.

$ flutter pub add install_plugin
Source repository

What it does

Provides a Flutter plugin to programmatically install an APK on Android devices and to launch the App Store on iOS via a URL. Handles required Android permissions and offers simple Dart API calls.

AI-written summary of version 2.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to install an APK downloaded at runtime on Android
  • You want to redirect users to an iOS App Store page from your app

Skip it when

  • You rely on official app stores for distribution only
  • You need a cross‑platform package that also handles updates or store listings

Strengths

  • Supports Android 5‑13 and handles permission nuances
  • Simple API with install and gotoAppStore functions
  • Works for both network‑downloaded and local APKs

Weaknesses

  • Requires manual AndroidManifest permission setup
  • Only covers APK install and iOS URL launch, no broader store management
  • Limited to Android/iOS, no web or desktop support

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
0

Add READ_EXTERNAL_STORAGE, REQUEST_INSTALL_PACKAGES, and WRITE_EXTERNAL_STORAGE permissions to AndroidManifest. Ensure iOS project uses Swift. No build_runner needed.

await InstallPlugin.install('/path/to/app.apk'); // Android install
await InstallPlugin.install('https://itunes.apple.com/app/id123456'); // iOS App Store redirect

Alternatives

Packages that do the same job and could replace install_plugin.