install_plugin
2.1.0, released 3 years ago by heyongjian.com
Installs Android APKs and opens iOS App Store URLs from Flutter.
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 redirectAlternatives
Packages that do the same job and could replace install_plugin.
- app_installer
Plugin to open app stores, editor reviews, and install APK files on Android and iOS.
53Compare - flutter_install_app_plugin
Installs iOS or Android apps from within a Flutter app.
50Compare - r_upgrade
Upgrade and install applications on Android and iOS.
48Compare